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

1234

/art/tools/ahat/src/
H A DHeapTable.java19 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 DSite.java19 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 DAhatSnapshot.java19 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 DDominatedList.java19 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 DSort.java19 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 DSitePrinter.java19 import com.android.tools.perflib.heap.Heap;
38 public long getSize(Site element, Heap heap) {
39 return element.getSize(heap.getName());
H A DOverviewHandler.java19 import com.android.tools.perflib.heap.Heap;
78 public long getSize(Object element, Heap heap) {
79 return mSnapshot.getHeapSize(heap);
H A DSiteHandler.java19 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 DInstanceUtils.java19 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 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 Dmod_union_table.h51 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 Dremembered_set.h50 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
51 : name_(name), heap_(heap), space_(space) {}
/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 Dallocation_record.cc138 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 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 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 Dpartial_mark_sweep.h33 PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
H A Dsticky_mark_sweep.h33 StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
/art/tools/ahat/test/
H A DNativeAllocationTest.java19 import com.android.tools.perflib.heap.Instance;
36 assertEquals(referent.getHeap(), alloc.heap);
H A DTestDump.java19 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 DSortTest.java19 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 Druntime_android.cc48 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 Dread_barrier-inl.h23 #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 Ddalvik_system_VMDebug.cc50 "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 Dobject.cc29 #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);

Completed in 188 milliseconds

1234