Home
last modified time | relevance | path

Searched refs:heap (Results 26 – 50 of 109) sorted by relevance

12345

/art/tools/ahat/src/main/com/android/ahat/
DDominatedList.java57 public long getSize(AhatInstance element, AhatHeap heap) { in getSize() argument
58 return element.getRetainedSize(heap).getSize(); in getSize()
DSitePrinter.java40 public long getSize(Site element, AhatHeap heap) { in printSite()
41 return element.getSize(heap).getSize(); in printSite()
/art/test/130-hprof/
Dinfo.txt1 Dump the heap for this test.
/art/test/2231-checker-heap-poisoning/
Dinfo.txt1 Exercise Checker support for branching with heap poisoning.
DAndroid.bp3 name: "art-run-test-2231-checker-heap-poisoning",
/art/runtime/mirror/
Darray.cc145 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()
Dobject.cc158 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, &copy); in Clone()
Darray-alloc-inl.h142 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/
Dmod_union_table_test.cc122 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()
Dheap_bitmap.h58 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap() argument
/art/runtime/gc/
Dreference_queue.cc77 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/
Dinfo.txt1 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/
DAndroid.bp3 name: "art-run-test-906-iterate-heap",
/art/compiler/optimizing/
Dsharpening.cc40 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()
Dintrinsics.cc63 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/
DREADME.md19 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/
Ddlmalloc_space.cc117 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()
Drosalloc_space.cc143 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/
Dpartial_mark_sweep.h33 PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
Dsticky_mark_sweep.h33 StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
/art/runtime/
Ddebugger.cc432 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 …]
Dtransaction_test.cc613 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 …]
Ddebug_print.cc38 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/
DAhatInstance.java80 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()
DAhatPlaceHolderInstance.java43 @Override public Size getRetainedSize(AhatHeap heap) { in getRetainedSize() argument

12345