Home
last modified time | relevance | path

Searched refs:heap (Results 51 – 75 of 109) sorted by relevance

12345

/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatPlaceHolderClassObj.java36 @Override public Size getRetainedSize(AhatHeap heap) { in getRetainedSize() argument
DDiff.java277 ainfo.setBaseline(b.getObjectsInfo(ainfo.heap.getBaseline(), baseClassObj)); in sites()
284 binfo.setBaseline(a.getObjectsInfo(binfo.heap.getBaseline(), baseClassObj)); in sites()
/art/runtime/
Daot_class_linker.h35 static bool CanReferenceInBootImageExtension(ObjPtr<mirror::Class> klass, gc::Heap* heap)
/art/runtime/gc/accounting/
Dmod_union_table.cc279 Heap* heap = mod_union_table_->GetHeap(); in operator ()() local
280 space::ContinuousSpace* from_space = heap->FindContinuousSpaceFromObject(obj, false); in operator ()()
281 space::ContinuousSpace* to_space = heap->FindContinuousSpaceFromObject(ref, false); in operator ()()
290 heap->DumpSpaces(LOG_STREAM(INFO)); in operator ()()
476 if (VLOG_IS_ON(heap)) { in UpdateAndMarkReferences()
482 Heap* heap, in ModUnionTableCardCache() argument
484 : ModUnionTable(name, heap, space) { in ModUnionTableCardCache()
/art/tools/ahat/src/test/com/android/ahat/
DSiteTest.java113 if (info.heap == refStrong.getHeap() && info.classObj == refStrong.getClassObj()) { in objectsInfos()
128 if (info.heap == refSoft.getHeap() && info.classObj == refSoft.getClassObj()) { in objectsInfos()
DInstanceTest.java327 for (AhatHeap heap : snapshot.getHeaps()) { in retainedSize()
328 if (!heap.equals(anObject.getHeap())) { in retainedSize()
329 assertEquals(String.format("For heap '%s'", heap.getName()), in retainedSize()
330 Size.ZERO, anObject.getRetainedSize(heap)); in retainedSize()
/art/test/800-smali/smali/
Db_22331663_pass.smali17 # Do an allocation here. This will force heap checking in gcstress mode.
/art/test/175-alloc-big-bignums/
Dinfo.txt2 associated memory will be in the C++ heap. This makes sure that we trigger
/art/runtime/gc/
Dheap.cc361 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Heap()
382 VLOG(heap) << "Disabling background compaction for non zygote"; in Heap()
754 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Heap()
847 VLOG(heap) << "Created main space " << main_space_; in CreateMainMallocSpace()
1285 VLOG(heap) << "Starting ~Heap()"; in ~Heap()
1304 VLOG(heap) << "Finished ~Heap()"; in ~Heap()
1447 VLOG(heap) << "Deflating " << count << " monitors took " in Trim()
1539 VLOG(heap) << "Heap trim of managed (duration=" << PrettyDuration(gc_heap_end_ns - start_ns) in TrimSpaces()
1884 VLOG(heap) << "Ran heap homogeneous space compaction, " in AllocateInternalWithGc()
2112 VLOG(heap) << "Heap homogeneous space compaction took " << PrettyDuration(duration) << " size: " in PerformHomogeneousSpaceCompact()
[all …]
/art/runtime/gc/space/
Dspace_create_test.cc168 gc::Heap* heap = Runtime::Current()->GetHeap(); in TEST_P() local
173 heap->RemoveSpace(old_space); in TEST_P()
175 heap->RevokeAllThreadLocalBuffers(); in TEST_P()
177 heap->IsLowMemoryMode(), in TEST_P()
Dspace_test.h44 Heap* heap = Runtime::Current()->GetHeap(); variable
46 heap->RevokeAllThreadLocalBuffers();
51 heap->AddSpace(space);
53 heap->SetSpaceAsDefault(space);
/art/runtime/gc/collector/
Dsemi_space.cc80 SemiSpace::SemiSpace(Heap* heap, const std::string& name_prefix) in SemiSpace() argument
81 : GarbageCollector(heap, in SemiSpace()
222 VLOG(heap) << "Protecting from_space_ : " << *from_space_; in MarkingPhase()
228 VLOG(heap) << "Protecting from_space_ with PROT_READ : " << *from_space_; in MarkingPhase()
356 VLOG(heap) << "Avoided dirtying " << PrettySize(saved_bytes_); in ReclaimPhase()
643 VLOG(heap) << "Protecting from_space_ with PROT_NONE : " << *from_space_; in FinishPhase()
Dgarbage_collector.cc46 : duration_ns_(0), timings_("GC iteration timing logger", true, VLOG_IS_ON(heap)) { in Iteration()
66 GarbageCollector::GarbageCollector(Heap* heap, const std::string& name) in GarbageCollector() argument
67 : heap_(heap), in GarbageCollector()
Dgarbage_collector.h62 GarbageCollector(Heap* heap, const std::string& name);
Dsemi_space.h62 explicit SemiSpace(Heap* heap, const std::string& name_prefix = "");
/art/libartbase/base/
Dlogging.h43 bool heap; member
/art/tools/ahat/src/main/com/android/ahat/
DObjectHandler.java268 public long getSize(PathElement element, AhatHeap heap) { in printGcRootPath()
270 return heap.getSize().getSize(); in printGcRootPath()
273 return element.instance.getRetainedSize(heap).getSize(); in printGcRootPath()
/art/runtime/mirror/
Dstring-alloc-inl.h193 gc::Heap* heap = runtime->GetHeap(); in Alloc() local
195 heap->AllocObjectWithAllocator<kIsInstrumented>(self, in Alloc()
/art/tools/jvmti-agents/enable-vlog/
DREADME.md40 * `heap`
/art/openjdkjvmti/
Dti_logging.cc113 art::gLogVerbosity.heap = val; in SetVerboseFlag()
Dti_heap.cc1399 art::gc::Heap* heap = art::Runtime::Current()->GetHeap(); in FollowReferences() local
1400 if (heap->IsGcConcurrentAndMoving()) { in FollowReferences()
1403 heap->IncrementDisableMovingGC(self); in FollowReferences()
1424 if (heap->IsGcConcurrentAndMoving()) { in FollowReferences()
1425 heap->DecrementDisableMovingGC(self); in FollowReferences()
1495 art::gc::Heap* const heap = art::Runtime::Current()->GetHeap(); in GetHeapId() local
1497 heap->FindContinuousSpaceFromObject(obj, true); in GetHeapId()
1502 } else if (space->IsImageSpace() && heap->ObjectIsInBootImageSpace(obj)) { in GetHeapId()
1508 const auto* los = heap->GetLargeObjectsSpace(); in GetHeapId()
Dti_class.cc363 art::gc::Heap* heap = art::Runtime::Current()->GetHeap(); in FixupTempClass() local
364 if (heap->IsGcConcurrentAndMoving()) { in FixupTempClass()
367 heap->IncrementDisableMovingGC(self); in FixupTempClass()
380 if (heap->IsGcConcurrentAndMoving()) { in FixupTempClass()
381 heap->DecrementDisableMovingGC(self); in FixupTempClass()
/art/tools/cpp-define-generator/
Dglobals.def24 #include "gc/heap.h"
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h201 gc::Heap* heap = Runtime::Current()->GetHeap(); in AllocObjectFromCodeResolved() local
206 self, heap->GetCurrentAllocator()); in AllocObjectFromCodeResolved()
277 gc::Heap* heap = Runtime::Current()->GetHeap(); in AllocArrayFromCode() local
283 heap->GetCurrentAllocator()); in AllocArrayFromCode()
/art/runtime/jni/
Djni_internal.cc1876 gc::Heap* heap = Runtime::Current()->GetHeap(); in GetStringChars() local
1877 if (heap->IsMovableObject(s) || s->IsCompressed()) { in GetStringChars()
1911 gc::Heap* heap = Runtime::Current()->GetHeap(); in GetStringCritical() local
1912 if (heap->IsMovableObject(s)) { in GetStringCritical()
1916 heap->IncrementDisableMovingGC(soa.Self()); in GetStringCritical()
1920 heap->IncrementDisableThreadFlip(soa.Self()); in GetStringCritical()
1946 gc::Heap* heap = Runtime::Current()->GetHeap(); in ReleaseStringCritical() local
1948 if (heap->IsMovableObject(s)) { in ReleaseStringCritical()
1950 heap->DecrementDisableMovingGC(soa.Self()); in ReleaseStringCritical()
1952 heap->DecrementDisableThreadFlip(soa.Self()); in ReleaseStringCritical()
[all …]

12345