/art/tools/ahat/src/ |
D | HeapTable.java | 19 import com.android.tools.perflib.heap.Heap; 42 long getSize(T element, Heap heap); in getSize() argument 55 for (Heap heap : snapshot.getHeaps()) { in render() 56 if (hasNonZeroEntry(snapshot, heap, config, elements)) { in render() 57 heaps.add(heap); in render() 66 for (Heap heap : heaps) { in render() 67 subcols.add(new Column(heap.getName(), Column.Align.RIGHT)); in render() 84 for (Heap heap : heaps) { in render() 85 long size = config.getSize(elem, heap); in render() 103 for (Heap heap : heaps) { in render() [all …]
|
D | Site.java | 19 import com.android.tools.perflib.heap.ClassObj; 20 import com.android.tools.perflib.heap.Heap; 21 import com.android.tools.perflib.heap.Instance; 22 import com.android.tools.perflib.heap.StackFrame; 59 public Heap heap; field in Site.ObjectsInfo 64 public ObjectsInfo(Heap heap, ClassObj classObj, long numInstances, long numBytes) { in ObjectsInfo() argument 65 this.heap = heap; in ObjectsInfo() 98 String heap = inst.getHeap().getName(); in add() local 99 mSizesByHeap.put(heap, getSize(heap) + inst.getSize()); in add() 131 public long getSize(String heap) { in getSize() argument [all …]
|
D | AhatSnapshot.java | 19 import com.android.tools.perflib.heap.ClassObj; 20 import com.android.tools.perflib.heap.Heap; 21 import com.android.tools.perflib.heap.Instance; 22 import com.android.tools.perflib.heap.RootObj; 23 import com.android.tools.perflib.heap.RootType; 24 import com.android.tools.perflib.heap.Snapshot; 25 import com.android.tools.perflib.heap.StackFrame; 26 import com.android.tools.perflib.heap.StackTrace; 87 for (Heap heap : mHeaps) { in AhatSnapshot() 89 for (Instance inst : Iterables.concat(heap.getClasses(), heap.getInstances())) { in AhatSnapshot() [all …]
|
D | Sort.java | 19 import com.android.tools.perflib.heap.Instance; 20 import com.android.tools.perflib.heap.Heap; 69 public InstanceByHeapRetainedSize(AhatSnapshot snapshot, Heap heap) { in InstanceByHeapRetainedSize() argument 70 mIndex = snapshot.getHeapIndex(heap); in InstanceByHeapRetainedSize() 132 public SiteBySize(String heap) { in SiteBySize() argument 133 mHeap = heap; in SiteBySize() 163 return a.heap.getName().compareTo(b.heap.getName()); in compare() 190 return a.heap.getName().compareTo(b.heap.getName()); in compare()
|
D | DominatedList.java | 19 import com.android.tools.perflib.heap.Heap; 20 import com.android.tools.perflib.heap.Instance; 61 public long getSize(Instance element, Heap heap) { in getSize() argument 62 int index = mSnapshot.getHeapIndex(heap); in getSize()
|
D | InstanceUtils.java | 19 import com.android.tools.perflib.heap.ArrayInstance; 20 import com.android.tools.perflib.heap.ClassInstance; 21 import com.android.tools.perflib.heap.ClassObj; 22 import com.android.tools.perflib.heap.Instance; 23 import com.android.tools.perflib.heap.Heap; 24 import com.android.tools.perflib.heap.Type; 295 public Heap heap; field in InstanceUtils.NativeAllocation 299 public NativeAllocation(long size, Heap heap, long pointer, Instance referent) { in NativeAllocation() argument 301 this.heap = heap; in NativeAllocation()
|
D | SiteHandler.java | 19 import com.android.tools.perflib.heap.Heap; 58 public long getSize(Site element, Heap heap) { in handle() 59 return element.getSize(heap.getName()); in handle() 101 site.getStackId(), site.getStackDepth(), info.heap.getName(), className), in handle() 103 DocString.text(info.heap.getName()), in handle()
|
D | ObjectHandler.java | 19 import com.android.tools.perflib.heap.ArrayInstance; 20 import com.android.tools.perflib.heap.ClassInstance; 21 import com.android.tools.perflib.heap.ClassObj; 22 import com.android.tools.perflib.heap.Field; 23 import com.android.tools.perflib.heap.Heap; 24 import com.android.tools.perflib.heap.Instance; 25 import com.android.tools.perflib.heap.RootObj; 26 import com.android.tools.perflib.heap.RootType; 223 public long getSize(Instance element, Heap heap) { in printDominatorPath() 225 return mSnapshot.getHeapSize(heap); in printDominatorPath() [all …]
|
D | SitePrinter.java | 19 import com.android.tools.perflib.heap.Heap; 38 public long getSize(Site element, Heap heap) { in printSite() 39 return element.getSize(heap.getName()); in printSite()
|
D | OverviewHandler.java | 19 import com.android.tools.perflib.heap.Heap; 78 public long getSize(Object element, Heap heap) { in printHeapSizes() 79 return mSnapshot.getHeapSize(heap); in printHeapSizes()
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 260 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClass() local 268 heap->CountInstances(classes, countAssignable, &count); in VMDebug_countInstancesOfClass() 275 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClasses() local 287 heap->CountInstances(classes, countAssignable, &counts[0]); in VMDebug_countInstancesOfClasses() 316 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getHeapSpaceStats() local 319 for (gc::space::ContinuousSpace* space : heap->GetContinuousSpaces()) { in VMDebug_getHeapSpaceStats() 337 for (gc::space::DiscontinuousSpace* space : heap->GetDiscontinuousSpaces()) { in VMDebug_getHeapSpaceStats() 375 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatInternal() local 378 std::string output = std::to_string(heap->GetGcCount()); in VMDebug_getRuntimeStatInternal() 382 std::string output = std::to_string(NsToMs(heap->GetGcTime())); in VMDebug_getRuntimeStatInternal() [all …]
|
/art/runtime/gc/ |
D | allocation_record.cc | 138 VLOG(heap) << "Start SweepAllocationRecords()"; in SweepAllocationRecords() 166 VLOG(heap) << "Deleted " << count_deleted << " allocation records"; in SweepAllocationRecords() 167 VLOG(heap) << "Updated " << count_moved << " allocation records"; in SweepAllocationRecords() 216 Heap* heap = Runtime::Current()->GetHeap(); in SetAllocTrackingEnabled() local 220 if (heap->IsAllocTrackingEnabled()) { in SetAllocTrackingEnabled() 223 AllocRecordObjectMap* records = heap->GetAllocationRecords(); in SetAllocTrackingEnabled() 226 heap->SetAllocationRecords(records); in SetAllocTrackingEnabled() 244 heap->SetAllocTrackingEnabled(true); in SetAllocTrackingEnabled() 251 if (!heap->IsAllocTrackingEnabled()) { in SetAllocTrackingEnabled() 254 heap->SetAllocTrackingEnabled(false); in SetAllocTrackingEnabled() [all …]
|
D | heap_test.cc | 33 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() local 34 int64_t max_memory_before = heap->GetMaxMemory(); in TEST_F() 35 int64_t total_memory_before = heap->GetTotalMemory(); in TEST_F() 36 heap->ClearGrowthLimit(); in TEST_F() 37 int64_t max_memory_after = heap->GetMaxMemory(); in TEST_F() 38 int64_t total_memory_after = heap->GetTotalMemory(); in TEST_F()
|
/art/tools/ahat/test/ |
D | SortTest.java | 19 import com.android.tools.perflib.heap.ClassObj; 20 import com.android.tools.perflib.heap.Heap; 65 assertEquals(heapA, list.get(0).heap); in objectsInfo() 66 assertEquals(heapA, list.get(1).heap); in objectsInfo() 67 assertEquals(heapA, list.get(2).heap); in objectsInfo() 68 assertEquals(heapB, list.get(3).heap); in objectsInfo() 69 assertEquals(heapB, list.get(4).heap); in objectsInfo()
|
D | TestDump.java | 19 import com.android.tools.perflib.heap.ClassObj; 20 import com.android.tools.perflib.heap.Field; 21 import com.android.tools.perflib.heap.Instance;
|
D | NativeAllocationTest.java | 19 import com.android.tools.perflib.heap.Instance; 36 assertEquals(referent.getHeap(), alloc.heap); in nativeAllocation()
|
/art/tools/ahat/ |
D | README.txt | 5 Launch an http server for viewing the given Android heap-dump FILE. 13 - Recommend how to start looking at a heap dump. 16 * Dim 'image' and 'zygote' heap sizes slightly? Why do we even show these? 19 * Show site context and heap and class filter in "Objects" view? 24 * For HeapTable with single heap shown, the heap name isn't centered? 39 * [low priority] Have a way to diff two heap dumps by site. 45 * That we can open a hprof without an 'app' heap and show a tabulation of 46 objects normally sorted by 'app' heap by default. 64 * Document that getHeapIndex returns -1 for no such heap. 65 * Look up totalRetainedSize for a heap by Heap object, not by a separate heap [all …]
|
/art/runtime/gc/accounting/ |
D | mod_union_table.h | 51 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space) in ModUnionTable() argument 53 heap_(heap), in ModUnionTable() 104 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap, in ModUnionTableReferenceCache() argument 106 : ModUnionTable(name, heap, space) {} in ModUnionTableReferenceCache() 146 explicit ModUnionTableCardCache(const std::string& name, Heap* heap,
|
D | mod_union_table-inl.h | 32 Heap* heap, in ModUnionTableToZygoteAllocspace() argument 34 : ModUnionTableReferenceCache(name, heap, space) {} in ModUnionTableToZygoteAllocspace()
|
/art/runtime/ |
D | runtime_android.cc | 48 gc::Heap* heap = runtime->GetHeap(); in HandleUnexpectedSignal() local 49 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) { in HandleUnexpectedSignal() 51 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr)); in HandleUnexpectedSignal()
|
D | read_barrier-inl.h | 75 gc::Heap* heap = Runtime::Current()->GetHeap(); in Barrier() local 76 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) { in Barrier() 183 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsDuringStartup() local 184 if (heap == nullptr) { in IsDuringStartup() 188 if (heap->CurrentCollectorType() != gc::kCollectorTypeCC) { in IsDuringStartup() 192 gc::collector::ConcurrentCopying* collector = heap->ConcurrentCopyingCollector(); in IsDuringStartup()
|
/art/runtime/mirror/ |
D | object.cc | 90 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyObject() local 96 heap->WriteBarrierArray(dest, 0, array->GetLength()); in CopyObject() 99 heap->WriteBarrierEveryFieldOf(dest); in CopyObject() 102 heap->AddFinalizerReference(self, &dest); in CopyObject() 130 gc::Heap* heap = Runtime::Current()->GetHeap(); in Clone() local 136 if (heap->IsMovableObject(this)) { in Clone() 137 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor); in Clone() 139 copy = heap->AllocNonMovableObject<true>(self, GetClass(), num_bytes, visitor); in Clone()
|
/art/test/104-growth-limit/ |
D | info.txt | 2 conventions, can be cleared and the resulting heap is at least as large 3 as the growth limited heap.
|
/art/runtime/gc/collector/ |
D | partial_mark_sweep.cc | 28 PartialMarkSweep::PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) in PartialMarkSweep() argument 29 : MarkSweep(heap, is_concurrent, name_prefix.empty() ? "partial " : name_prefix) { in PartialMarkSweep()
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 134 VLOG(heap) << "MallocSpace::MoreCore " << PrettySize(increment); in MoreCore() 178 VLOG(heap) << "Begin " << reinterpret_cast<const void*>(begin_) << "\n" in CreateZygoteSpace() 186 VLOG(heap) << "Creating new AllocSpace: "; in CreateZygoteSpace() 187 VLOG(heap) << "Size " << GetMemMap()->Size(); in CreateZygoteSpace() 188 VLOG(heap) << "GrowthLimit " << PrettySize(growth_limit); in CreateZygoteSpace() 189 VLOG(heap) << "Capacity " << PrettySize(capacity); in CreateZygoteSpace() 214 VLOG(heap) << "Failed creating zygote space from space " << GetName(); in CreateZygoteSpace() 216 VLOG(heap) << "zygote space creation done"; in CreateZygoteSpace()
|