/art/tools/ahat/src/main/com/android/ahat/ |
D | DominatedList.java | 57 public long getSize(AhatInstance element, AhatHeap heap) { in getSize() argument 58 return element.getRetainedSize(heap).getSize(); in getSize()
|
D | SitePrinter.java | 40 public long getSize(Site element, AhatHeap heap) { in printSite() 41 return element.getSize(heap).getSize(); in printSite()
|
/art/test/130-hprof/ |
D | info.txt | 1 Dump the heap for this test.
|
/art/test/2231-checker-heap-poisoning/ |
D | info.txt | 1 Exercise Checker support for branching with heap poisoning.
|
D | Android.bp | 3 name: "art-run-test-2231-checker-heap-poisoning",
|
/art/runtime/mirror/ |
D | array.cc | 145 auto* heap = Runtime::Current()->GetHeap(); in CopyOf() local 146 gc::AllocatorType allocator_type = heap->IsMovableObject(h_this.Get()) in CopyOf() 147 ? heap->GetCurrentAllocator() in CopyOf() 148 : heap->GetCurrentNonMovingAllocator(); in CopyOf()
|
D | object.cc | 158 gc::Heap* heap = Runtime::Current()->GetHeap(); in Clone() local 161 ObjPtr<Object> copy = heap->IsMovableObject(h_this.Get()) in Clone() 162 ? heap->AllocObject(self, h_this->GetClass(), num_bytes, visitor) in Clone() 163 : heap->AllocNonMovableObject(self, h_this->GetClass(), num_bytes, visitor); in Clone() 165 heap->AddFinalizerReference(self, ©); in Clone()
|
D | array-alloc-inl.h | 142 gc::Heap* heap = Runtime::Current()->GetHeap(); in Alloc() local 147 heap->AllocObjectWithAllocator<kIsInstrumented>( in Alloc() 154 heap->AllocObjectWithAllocator<kIsInstrumented>( in Alloc()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 122 const std::string& name, Heap* heap, space::ContinuousSpace* space, in ModUnionTableRefCacheToSpace() argument 124 : ModUnionTableReferenceCache(name, heap, space), target_space_(target_space) {} in ModUnionTableRefCacheToSpace() 182 gc::Heap* const heap = runtime->GetHeap(); in RunTest() local 184 auto* space = heap->GetNonMovingSpace(); in RunTest() 193 heap->AddSpace(other_space.get()); in RunTest() 265 heap->RemoveSpace(other_space.get()); in RunTest()
|
D | heap_bitmap.h | 58 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap() argument
|
/art/runtime/gc/ |
D | reference_queue.cc | 77 Heap* heap = Runtime::Current()->GetHeap(); in DisableReadBarrierForReference() local 78 if (kUseBakerOrBrooksReadBarrier && heap->CurrentCollectorType() == kCollectorTypeCC && in DisableReadBarrierForReference() 79 heap->ConcurrentCopyingCollector()->IsActive()) { in DisableReadBarrierForReference() 84 collector::ConcurrentCopying* concurrent_copying = heap->ConcurrentCopyingCollector(); in DisableReadBarrierForReference()
|
/art/test/080-oom-fragmentation/ |
D | info.txt | 1 Test that the allocator can go from a full heap to an empty one and is able to allocate a large
|
/art/test/906-iterate-heap/ |
D | Android.bp | 3 name: "art-run-test-906-iterate-heap",
|
/art/compiler/optimizing/ |
D | sharpening.cc | 40 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsInBootImage() local 41 DCHECK_EQ(heap->IsBootImageAddress(method), in IsInBootImage() 42 std::any_of(heap->GetBootImageSpaces().begin(), in IsInBootImage() 43 heap->GetBootImageSpaces().end(), in IsInBootImage() 48 return heap->IsBootImageAddress(method); in IsInBootImage() 369 gc::Heap* heap = runtime->GetHeap(); in ProcessLoadString() local 370 if (heap->ObjectIsInBootImageSpace(string)) { in ProcessLoadString()
|
D | intrinsics.cc | 63 gc::Heap* heap = Runtime::Current()->GetHeap(); in GetBootImageLiveObjects() local 64 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = heap->GetBootImageSpaces(); in GetBootImageLiveObjects() 71 DCHECK(heap->ObjectIsInBootImageSpace(boot_image_live_objects)); in GetBootImageLiveObjects() 266 gc::Heap* heap = Runtime::Current()->GetHeap(); in CalculateBootImageOffset() local 267 DCHECK(heap->ObjectIsInBootImageSpace(object)); in CalculateBootImageOffset() 268 return reinterpret_cast<const uint8_t*>(object.Ptr()) - heap->GetBootImageSpaces()[0]->Begin(); in CalculateBootImageOffset()
|
/art/tools/jvmti-agents/list-extensions/ |
D | README.md | 19 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:107] com.android.art.heap.get_object_h… 20 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:108] desc: Retrieve the heap id … 26 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:107] com.android.art.heap.get_heap_name 27 … 154719 154719 list-extensions.cc:108] desc: Retrieve the name of the heap with the given id.
|
/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 117 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Create() 144 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Create() 312 VLOG(heap) << "DlMallocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit() 383 Heap* heap = runtime->GetHeap(); in ArtDlMallocMoreCore() local 384 ::art::gc::space::DlMallocSpace* dlmalloc_space = heap->GetDlMallocSpace(); in ArtDlMallocMoreCore() 394 for (space::ContinuousSpace* space : heap->GetContinuousSpaces()) { in ArtDlMallocMoreCore()
|
D | rosalloc_space.cc | 143 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Create() 172 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Create() 314 VLOG(heap) << "RosAllocSpace::Trim() "; in Trim() 347 VLOG(heap) << "RosAllocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit() 488 Heap* heap = Runtime::Current()->GetHeap(); in ArtRosAllocMoreCore() local 489 art::gc::space::RosAllocSpace* rosalloc_space = heap->GetRosAllocSpace(rosalloc); in ArtRosAllocMoreCore()
|
/art/runtime/gc/collector/ |
D | partial_mark_sweep.h | 33 PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
|
D | sticky_mark_sweep.h | 33 StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
|
/art/runtime/ |
D | debugger.cc | 432 gc::Heap* heap = Runtime::Current()->GetHeap(); in DdmSendHeapInfo() local 438 Append4BE(bytes, heap->GetMaxMemory()); // Max allowed heap size in bytes. in DdmSendHeapInfo() 439 Append4BE(bytes, heap->GetTotalMemory()); // Current heap size in bytes. in DdmSendHeapInfo() 440 Append4BE(bytes, heap->GetBytesAllocated()); in DdmSendHeapInfo() 441 Append4BE(bytes, heap->GetObjectsAllocated()); in DdmSendHeapInfo() 663 gc::Heap* heap = Runtime::Current()->GetHeap(); in ExamineJavaObject() local 664 if (!heap->IsLiveObjectLocked(o)) { in ExamineJavaObject() 673 if (!heap->IsValidObjectAddress(c.Ptr())) { in ExamineJavaObject() 738 gc::Heap* heap = Runtime::Current()->GetHeap(); in DdmSendHeapSegments() local 739 for (const auto& space : heap->GetContinuousSpaces()) { in DdmSendHeapSegments() [all …]
|
D | transaction_test.cc | 613 gc::Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() local 617 ASSERT_TRUE(heap->ObjectIsInBootImageSpace(boolean_class.Get())); in TEST_F() 624 ASSERT_TRUE(heap->ObjectIsInBootImageSpace(true_value.Get())); in TEST_F() 633 ASSERT_FALSE(heap->ObjectIsInBootImageSpace(static_field_class.Get())); in TEST_F() 641 ASSERT_FALSE(heap->ObjectIsInBootImageSpace(static_fields_test_class.Get())); in TEST_F() 649 ASSERT_FALSE(heap->ObjectIsInBootImageSpace(instance_fields_test_class.Get())); in TEST_F() 654 instance_fields_test_class->Alloc(soa.Self(), heap->GetCurrentAllocator())); in TEST_F() 656 ASSERT_FALSE(heap->ObjectIsInBootImageSpace(instance_fields_test_object.Get())); in TEST_F() 661 ASSERT_FALSE(heap->ObjectIsInBootImageSpace(long_array_dim2_class.Get())); in TEST_F() 662 ASSERT_TRUE(heap->ObjectIsInBootImageSpace(long_array_dim2_class->GetComponentType())); in TEST_F() [all …]
|
D | debug_print.cc | 38 gc::Heap* heap = Runtime::Current()->GetHeap(); in DescribeSpace() local 40 heap->FindContinuousSpaceFromObject(klass, /* fail_ok= */ true); in DescribeSpace() 53 heap->FindDiscontinuousSpaceFromObject(klass, /* fail_ok= */ true); in DescribeSpace()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatInstance.java | 80 void initialize(AhatHeap heap, Site site, AhatClassObj classObj) { in initialize() argument 81 mHeap = heap; in initialize() 125 public Size getRetainedSize(AhatHeap heap) { in getRetainedSize() argument 126 int index = heap.getIndex(); in getRetainedSize() 128 return mRetainedSizes[heap.getIndex()]; in getRetainedSize()
|
D | AhatPlaceHolderInstance.java | 43 @Override public Size getRetainedSize(AhatHeap heap) { in getRetainedSize() argument
|