/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 | heap_bitmap.h | 67 explicit HeapBitmap(Heap* heap) : heap_(heap) {} argument
|
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) {}
|
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 | mod_union_table_test.cc | 120 const std::string& name, Heap* heap, space::ContinuousSpace* space, 122 : ModUnionTableReferenceCache(name, heap, space), target_space_(target_space) {} 180 gc::Heap* const heap = runtime->GetHeap(); member in class:art::gc::accounting::gc 182 auto* space = heap->GetNonMovingSpace(); 191 heap->AddSpace(other_space.get()); 263 heap->RemoveSpace(other_space.get()); 119 ModUnionTableRefCacheToSpace( const std::string& name, Heap* heap, space::ContinuousSpace* space, space::ContinuousSpace* target_space) argument
|
/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 | garbage_collector.cc | 39 : duration_ns_(0), timings_("GC iteration timing logger", true, VLOG_IS_ON(heap)) { 59 GarbageCollector::GarbageCollector(Heap* heap, const std::string& name) argument 60 : heap_(heap),
|
/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 | reference_queue.cc | 21 #include "heap.h" 68 Heap* heap = Runtime::Current()->GetHeap(); local 69 if (kUseBakerOrBrooksReadBarrier && heap->CurrentCollectorType() == kCollectorTypeCC && 70 heap->ConcurrentCopyingCollector()->IsActive()) { 75 collector::ConcurrentCopying* concurrent_copying = heap->ConcurrentCopyingCollector();
|
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/ |
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...] |
H A D | runtime_linux.cc | 358 gc::Heap* heap = runtime->GetHeap(); local 360 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) { 361 LOG(INTERNAL_FATAL) << "Dump heap object at fault address: "; 362 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr));
|
/art/tools/ahat/src/ |
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 | 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 | 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...] |
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 | 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...] |
/art/runtime/mirror/ |
H A D | array.cc | 134 auto* heap = Runtime::Current()->GetHeap(); local 135 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : 136 heap->GetCurrentNonMovingAllocator();
|
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);
|
/art/runtime/gc/space/ |
H A D | space_create_test.cc | 97 // Make space findable to the heap, will also delete space when runtime is cleaned up 171 gc::Heap* heap = Runtime::Current()->GetHeap(); local 176 heap->RemoveSpace(old_space); 178 heap->RevokeAllThreadLocalBuffers(); 180 heap->IsLowMemoryMode(), 186 // Make space findable to the heap, will also delete space when runtime is cleaned up 233 // Make space findable to the heap, will also delete space when runtime is cleaned up 307 // Make space findable to the heap, will also delete space when runtime is cleaned up
|
H A D | space_test.h | 43 Heap* heap = Runtime::Current()->GetHeap(); local 45 heap->RevokeAllThreadLocalBuffers(); 50 heap->AddSpace(space); 52 heap->SetSpaceAsDefault(space); 112 // Like the proper heap object allocation, install and verify 337 // Make space findable to the heap, will also delete space when runtime is cleaned up
|
/art/patchoat/ |
H A D | patchoat.h | 27 #include "gc/heap.h" 71 MemMap* heap, off_t delta, TimingLogger* timings) 72 : image_(image), bitmap_(bitmap), heap_(heap), 75 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, 77 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap), 191 // change the heap. 215 // The bitmap over the image within the heap we are patching. This is not modified. 217 // The heap we are patching. This is not modified. 70 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument 74 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, std::map<gc::space::ImageSpace*, std::unique_ptr<MemMap>>* map, TimingLogger* timings) argument
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 94 gc::Heap* heap = Runtime::Current()->GetHeap(); local 96 // the heap switched the allocator type while we were suspended. 99 heap->GetCurrentAllocator()); 114 gc::Heap* heap = Runtime::Current()->GetHeap(); local 116 // the heap switched the allocator type while we were suspended. 119 heap->GetCurrentAllocator());
|