Searched refs:heap (Results 1 - 25 of 89) sorted by relevance

1234

/art/tools/ahat/src/
H A DHeapTable.java28 * Class for rendering a table that includes sizes of some kind for each heap.
32 * Configuration for a value column of a heap table.
44 long getSize(T element, AhatHeap heap); argument
67 for (AhatHeap heap : snapshot.getHeaps()) {
68 if (hasNonZeroEntry(heap, config, elements)) {
69 heaps.add(heap);
75 // Print the heap and values descriptions.
77 for (AhatHeap heap : heaps) {
78 subcols.add(new Column(heap.getName(), Column.Align.RIGHT));
98 for (AhatHeap heap
159 hasNonZeroEntry(AhatHeap heap, TableConfig<T> config, List<T> elements) argument
[all...]
H A DDominatedList.java57 public long getSize(AhatInstance element, AhatHeap heap) { argument
58 return element.getRetainedSize(heap);
H A DSitePrinter.java40 public long getSize(Site element, AhatHeap heap) {
41 return element.getSize(heap);
/art/runtime/gc/accounting/
H A Dmod_union_table-inl.h32 Heap* heap,
34 : ModUnionTableReferenceCache(name, heap, space) {}
31 ModUnionTableToZygoteAllocspace(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
H A Dremembered_set.h50 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
51 : name_(name), heap_(heap), space_(space) {}
H A Dmod_union_table.h51 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
53 heap_(heap),
113 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap, argument
115 : ModUnionTable(name, heap, space) {}
161 explicit ModUnionTableCardCache(const std::string& name, Heap* heap,
/art/tools/ahat/src/heapdump/
H A DAhatSnapshot.java21 import com.android.tools.perflib.heap.ArrayInstance;
22 import com.android.tools.perflib.heap.ClassInstance;
23 import com.android.tools.perflib.heap.ClassObj;
24 import com.android.tools.perflib.heap.Heap;
25 import com.android.tools.perflib.heap.Instance;
26 import com.android.tools.perflib.heap.ProguardMap;
27 import com.android.tools.perflib.heap.RootObj;
28 import com.android.tools.perflib.heap.Snapshot;
29 import com.android.tools.perflib.heap.StackFrame;
30 import com.android.tools.perflib.heap
[all...]
H A DSite.java19 import com.android.tools.perflib.heap.StackFrame;
45 // organized by heap index. Heap indices outside the range of mSizesByHeap
60 public AhatHeap heap; field in class:Site.ObjectsInfo
66 public ObjectsInfo(AhatHeap heap, AhatClassObj classObj, long numInstances, long numBytes) { argument
67 this.heap = heap;
134 AhatHeap heap = inst.getHeap();
135 if (heap.getIndex() >= site.mSizesByHeap.length) {
136 long[] newSizes = new long[heap.getIndex() + 1];
142 site.mSizesByHeap[heap
175 getSize(AhatHeap heap) argument
192 getObjectsInfo(AhatHeap heap, AhatClassObj classObj) argument
[all...]
H A DSort.java49 * Compare instances by their retained size for a given heap index.
57 public InstanceByHeapRetainedSize(AhatHeap heap) { argument
58 mHeap = heap;
96 // Priority goes to the app heap, if we can find one.
108 * Compare Sites by the size of objects allocated on a given heap.
109 * Different object infos with the same size on the given heap are
116 public SiteByHeapSize(AhatHeap heap) { argument
117 mHeap = heap;
140 // Priority goes to the app heap, if we can find one.
166 * Compare Site.ObjectsInfo by heap nam
[all...]
H A DAhatInstance.java19 import com.android.tools.perflib.heap.ClassObj;
20 import com.android.tools.perflib.heap.Instance;
21 import com.android.tools.perflib.heap.RootObj;
33 private long mRetainedSizes[]; // Retained size indexed by heap index
72 for (AhatHeap heap : heaps) {
73 mRetainedSizes[heap.getIndex()] = inst.getRetainedSize(heap.getIndex());
138 * Returns the number of bytes belonging to the given heap that this instance
141 public long getRetainedSize(AhatHeap heap) { argument
142 int index = heap
[all...]
H A DAhatPlaceHolderInstance.java36 @Override public long getRetainedSize(AhatHeap heap) { argument
H A DAhatClassObj.java19 import com.android.tools.perflib.heap.ClassObj;
20 import com.android.tools.perflib.heap.Field;
21 import com.android.tools.perflib.heap.Instance;
/art/tools/ahat/test/
H A DSnapshotBuilder.java20 import com.android.tools.perflib.heap.ProguardMap;
21 import com.android.tools.perflib.heap.hprof.Hprof;
22 import com.android.tools.perflib.heap.hprof.HprofRecord;
23 import com.android.tools.perflib.heap.hprof.HprofStringBuilder;
24 import com.android.tools.perflib.heap.io.InMemoryBuffer;
H A DDiffTest.java24 import com.android.tools.perflib.heap.hprof.HprofClassDump;
25 import com.android.tools.perflib.heap.hprof.HprofConstant;
26 import com.android.tools.perflib.heap.hprof.HprofDumpRecord;
27 import com.android.tools.perflib.heap.hprof.HprofHeapDump;
28 import com.android.tools.perflib.heap.hprof.HprofInstanceDump;
29 import com.android.tools.perflib.heap.hprof.HprofInstanceField;
30 import com.android.tools.perflib.heap.hprof.HprofLoadClass;
31 import com.android.tools.perflib.heap.hprof.HprofPrimitiveArrayDump;
32 import com.android.tools.perflib.heap.hprof.HprofRecord;
33 import com.android.tools.perflib.heap
[all...]
H A DInstanceTest.java25 import com.android.tools.perflib.heap.hprof.HprofClassDump;
26 import com.android.tools.perflib.heap.hprof.HprofConstant;
27 import com.android.tools.perflib.heap.hprof.HprofDumpRecord;
28 import com.android.tools.perflib.heap.hprof.HprofHeapDump;
29 import com.android.tools.perflib.heap.hprof.HprofInstanceDump;
30 import com.android.tools.perflib.heap.hprof.HprofInstanceField;
31 import com.android.tools.perflib.heap.hprof.HprofLoadClass;
32 import com.android.tools.perflib.heap.hprof.HprofPrimitiveArrayDump;
33 import com.android.tools.perflib.heap.hprof.HprofRecord;
34 import com.android.tools.perflib.heap
[all...]
/art/runtime/gc/
H A Dheap_test.cc33 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 Dverification.h40 explicit Verification(gc::Heap* heap) : heap_(heap) {} argument
H A Dallocation_record.cc140 VLOG(heap) << "Start SweepAllocationRecords()";
168 VLOG(heap) << "Deleted " << count_deleted << " allocation records";
169 VLOG(heap) << "Updated " << count_moved << " allocation records";
217 Heap* heap = Runtime::Current()->GetHeap(); local
221 if (heap->IsAllocTrackingEnabled()) {
224 AllocRecordObjectMap* records = heap->GetAllocationRecords();
227 heap->SetAllocationRecords(records);
245 heap->SetAllocTrackingEnabled(true);
252 if (!heap->IsAllocTrackingEnabled()) {
255 heap
279 Heap* const heap = Runtime::Current()->GetHeap(); local
[all...]
/art/runtime/gc/collector/
H A Dpartial_mark_sweep.cc19 #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 Dpartial_mark_sweep.h33 PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
H A Dsticky_mark_sweep.cc17 #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 Dsticky_mark_sweep.h33 StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
/art/runtime/native/
H A Ddalvik_system_VMDebug.cc53 "hprof-heap-dump",
54 "hprof-heap-dump-streaming",
283 gc::Heap* const heap = Runtime::Current()->GetHeap(); member in class:art::gc
292 heap->CountInstances(classes, countAssignable, &count);
301 gc::Heap* const heap = Runtime::Current()->GetHeap(); member in class:art::gc
315 heap->CountInstances(classes, countAssignable, &counts[0]);
327 // We export the VM internal per-heap-space size/alloc/free metrics
328 // for the zygote space, alloc space (application heap), and the large
344 gc::Heap* heap = Runtime::Current()->GetHeap(); local
347 for (gc::space::ContinuousSpace* space : heap
403 gc::Heap* heap = Runtime::Current()->GetHeap(); local
464 gc::Heap* heap = Runtime::Current()->GetHeap(); local
[all...]
/art/runtime/
H A Dread_barrier-inl.h23 #include "gc/heap.h"
77 // The heap or the collector can be null at startup. TODO: avoid the need for this null check.
78 gc::Heap* heap = Runtime::Current()->GetHeap(); local
79 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) {
206 gc::Heap* heap = Runtime::Current()->GetHeap(); local
207 if (heap == nullptr) {
208 // During startup, the heap can be null.
211 if (heap->CurrentCollectorType() != gc::kCollectorTypeCC) {
215 gc::collector::ConcurrentCopying* collector = heap
[all...]
/art/runtime/base/
H A Dlogging.h43 bool heap; member in struct:art::LogVerbosity

Completed in 1336 milliseconds

1234