/art/tools/ahat/src/ |
H A D | HeapTable.java | 19 import com.android.tools.perflib.heap.Heap; 26 * Class for rendering a table that includes sizes of some kind for each heap. 30 * Configuration for a value column of a heap table. 42 long getSize(T element, Heap heap); argument 55 for (Heap heap : snapshot.getHeaps()) { 56 if (hasNonZeroEntry(snapshot, heap, config, elements)) { 57 heaps.add(heap); 63 // Print the heap and values descriptions. 66 for (Heap heap : heaps) { 67 subcols.add(new Column(heap 134 hasNonZeroEntry(AhatSnapshot snapshot, Heap heap, TableConfig<T> config, List<T> elements) argument [all...] |
H A 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; 46 // Mapping from heap name to the total size of objects allocated in this 47 // site (including child sites) on the given heap. 59 public Heap heap; field in class:Site.ObjectsInfo 64 public ObjectsInfo(Heap heap, ClassObj classObj, long numInstances, long numBytes) { argument 65 this.heap = heap; 131 getSize(String heap) argument [all...] |
H A 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) { 89 for (Instance inst : Iterables.concat(heap 154 getHeapIndex(Heap heap) argument 220 getHeapSize(Heap heap) argument [all...] |
H A 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) { argument 62 int index = mSnapshot.getHeapIndex(heap);
|
H A D | Sort.java | 19 import com.android.tools.perflib.heap.Instance; 20 import com.android.tools.perflib.heap.Heap; 61 * Compare instances by their retained size for a given heap index. 69 public InstanceByHeapRetainedSize(AhatSnapshot snapshot, Heap heap) { argument 70 mIndex = snapshot.getHeapIndex(heap); 112 // Priority goes to the app heap, if we can find one. 124 * Compare Sites by the size of objects allocated on a given heap. 125 * Different object infos with the same size on the given heap are 132 public SiteBySize(String heap) { argument 133 mHeap = heap; [all...] |
H A D | SitePrinter.java | 19 import com.android.tools.perflib.heap.Heap; 38 public long getSize(Site element, Heap heap) { 39 return element.getSize(heap.getName());
|
H A D | OverviewHandler.java | 19 import com.android.tools.perflib.heap.Heap; 78 public long getSize(Object element, Heap heap) { 79 return mSnapshot.getHeapSize(heap);
|
H A D | SiteHandler.java | 19 import com.android.tools.perflib.heap.Heap; 58 public long getSize(Site element, Heap heap) { 59 return element.getSize(heap.getName()); 100 DocString.formattedUri("objects?stack=%d&depth=%d&heap=%s&class=%s", 101 site.getStackId(), site.getStackDepth(), info.heap.getName(), className), 103 DocString.text(info.heap.getName()),
|
H A 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 class:InstanceUtils.NativeAllocation 299 public NativeAllocation(long size, Heap heap, long pointer, Instance referent) { argument 301 this.heap = heap; [all...] |
/art/runtime/gc/accounting/ |
H A D | mod_union_table-inl.h | 32 Heap* heap, 34 : ModUnionTableReferenceCache(name, heap, space) {} 31 ModUnionTableToZygoteAllocspace(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
|
H A D | mod_union_table.h | 51 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument 53 heap_(heap), 104 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap, argument 106 : ModUnionTable(name, heap, space) {} 146 explicit ModUnionTableCardCache(const std::string& name, Heap* heap,
|
H A D | remembered_set.h | 50 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument 51 : name_(name), heap_(heap), space_(space) {}
|
/art/runtime/gc/ |
H A D | heap_test.cc | 33 Heap* heap = Runtime::Current()->GetHeap(); local 34 int64_t max_memory_before = heap->GetMaxMemory(); 35 int64_t total_memory_before = heap->GetTotalMemory(); 36 heap->ClearGrowthLimit(); 37 int64_t max_memory_after = heap->GetMaxMemory(); 38 int64_t total_memory_after = heap->GetTotalMemory();
|
H A D | allocation_record.cc | 138 VLOG(heap) << "Start SweepAllocationRecords()"; 166 VLOG(heap) << "Deleted " << count_deleted << " allocation records"; 167 VLOG(heap) << "Updated " << count_moved << " allocation records"; 216 Heap* heap = Runtime::Current()->GetHeap(); local 220 if (heap->IsAllocTrackingEnabled()) { 223 AllocRecordObjectMap* records = heap->GetAllocationRecords(); 226 heap->SetAllocationRecords(records); 244 heap->SetAllocTrackingEnabled(true); 251 if (!heap->IsAllocTrackingEnabled()) { 254 heap 278 Heap* const heap = Runtime::Current()->GetHeap(); local [all...] |
/art/runtime/gc/collector/ |
H A D | partial_mark_sweep.cc | 19 #include "gc/heap.h" 28 PartialMarkSweep::PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) argument 29 : MarkSweep(heap, is_concurrent, name_prefix.empty() ? "partial " : name_prefix) {
|
H A D | sticky_mark_sweep.cc | 17 #include "gc/heap.h" 27 StickyMarkSweep::StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) argument 28 : PartialMarkSweep(heap, is_concurrent, name_prefix.empty() ? "sticky " : name_prefix) {
|
H A D | partial_mark_sweep.h | 33 PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
|
H A D | sticky_mark_sweep.h | 33 StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
|
/art/tools/ahat/test/ |
H A D | NativeAllocationTest.java | 19 import com.android.tools.perflib.heap.Instance; 36 assertEquals(referent.getHeap(), alloc.heap);
|
H A 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;
|
H A D | SortTest.java | 19 import com.android.tools.perflib.heap.ClassObj; 20 import com.android.tools.perflib.heap.Heap; 63 // Sort by heap name. 65 assertEquals(heapA, list.get(0).heap); 66 assertEquals(heapA, list.get(1).heap); 67 assertEquals(heapA, list.get(2).heap); 68 assertEquals(heapB, list.get(3).heap); 69 assertEquals(heapB, list.get(4).heap);
|
/art/runtime/ |
H A D | runtime_android.cc | 48 gc::Heap* heap = runtime->GetHeap(); local 49 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) { 50 LOG(INTERNAL_FATAL) << "Dump heap object at fault address: "; 51 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr));
|
H A D | read_barrier-inl.h | 23 #include "gc/heap.h" 74 // The heap or the collector can be null at startup. TODO: avoid the need for this null check. 75 gc::Heap* heap = Runtime::Current()->GetHeap(); local 76 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) { 183 gc::Heap* heap = Runtime::Current()->GetHeap(); local 184 if (heap == nullptr) { 185 // During startup, the heap can be null. 188 if (heap->CurrentCollectorType() != gc::kCollectorTypeCC) { 192 gc::collector::ConcurrentCopying* collector = heap [all...] |
/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 50 "hprof-heap-dump", 51 "hprof-heap-dump-streaming", 260 gc::Heap* const heap = Runtime::Current()->GetHeap(); member in class:art::gc 268 heap->CountInstances(classes, countAssignable, &count); 275 gc::Heap* const heap = Runtime::Current()->GetHeap(); member in class:art::gc 287 heap->CountInstances(classes, countAssignable, &counts[0]); 299 // We export the VM internal per-heap-space size/alloc/free metrics 300 // for the zygote space, alloc space (application heap), and the large 316 gc::Heap* heap = Runtime::Current()->GetHeap(); local 319 for (gc::space::ContinuousSpace* space : heap 375 gc::Heap* heap = Runtime::Current()->GetHeap(); local 434 gc::Heap* heap = Runtime::Current()->GetHeap(); local [all...] |
/art/runtime/mirror/ |
H A D | object.cc | 29 #include "gc/heap.h" 90 gc::Heap* heap = Runtime::Current()->GetHeap(); local 96 heap->WriteBarrierArray(dest, 0, array->GetLength()); 99 heap->WriteBarrierEveryFieldOf(dest); 102 heap->AddFinalizerReference(self, &dest); 130 gc::Heap* heap = Runtime::Current()->GetHeap(); local 136 if (heap->IsMovableObject(this)) { 137 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor); 139 copy = heap->AllocNonMovableObject<true>(self, GetClass(), num_bytes, visitor);
|