Home
last modified time | relevance | path

Searched refs:GetHeap (Results 76 – 100 of 123) sorted by relevance

12345

/art/dex2oat/
Ddex2oat.cc737 gc::AllocatorType allocator_type = runtime->GetHeap()->GetCurrentAllocator(); in ThreadLocalHashOverride()
1813 const auto& image_spaces = Runtime::Current()->GetHeap()->GetBootImageSpaces(); in Setup()
1851 ArrayRef<ImageSpace* const> image_spaces(runtime->GetHeap()->GetBootImageSpaces()); in Setup()
1861 ArrayRef<ImageSpace* const> image_spaces(runtime->GetHeap()->GetBootImageSpaces()); in Setup()
2012 runtime_->GetHeap()->CollectGarbage(/* clear_soft_references */ true); in CompileDexFilesIndividually()
2016 << runtime_->GetHeap()->GetVerification()->FirstPathFromRootSet(decoded_weak); in CompileDexFilesIndividually()
2272 gc::Heap* const heap = Runtime::Current()->GetHeap(); in WriteOutputFiles()
/art/runtime/jni/
Dcheck_jni.cc350 if (!Runtime::Current()->GetHeap()->IsValidObjectAddress(o.Ptr())) { in CheckInstanceFieldID()
351 Runtime::Current()->GetHeap()->DumpSpaces(LOG_STREAM(ERROR)); in CheckInstanceFieldID()
866 if (!Runtime::Current()->GetHeap()->IsValidObjectAddress(obj.Ptr())) { in CheckInstance()
867 Runtime::Current()->GetHeap()->DumpSpaces(LOG_STREAM(ERROR)); in CheckInstance()
1028 } else if (!Runtime::Current()->GetHeap()->IsValidObjectAddress(c.Ptr())) { in TracePossibleHeapValue()
1197 if (UNLIKELY(!Runtime::Current()->GetHeap()->IsValidObjectAddress(a.Ptr()))) { in CheckArray()
1198 Runtime::Current()->GetHeap()->DumpSpaces(LOG_STREAM(ERROR)); in CheckArray()
1274 if (!Runtime::Current()->GetHeap()->IsValidObjectAddress(f->GetDeclaringClass().Ptr())) { in CheckFieldID()
1275 Runtime::Current()->GetHeap()->DumpSpaces(LOG_STREAM(ERROR)); in CheckFieldID()
1289 if (!Runtime::Current()->GetHeap()->IsValidObjectAddress(m->GetDeclaringClass().Ptr())) { in CheckMethodID()
[all …]
Djni_internal.cc747 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocObject()
1876 gc::Heap* heap = Runtime::Current()->GetHeap(); in GetStringChars()
1911 gc::Heap* heap = Runtime::Current()->GetHeap(); in GetStringCritical()
1946 gc::Heap* heap = Runtime::Current()->GetHeap(); in ReleaseStringCritical()
2108 gc::Heap* heap = Runtime::Current()->GetHeap(); in GetPrimitiveArrayCritical()
2647 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in GetPrimitiveArray()
2683 gc::Heap* heap = Runtime::Current()->GetHeap(); in ReleasePrimitiveArray()
/art/runtime/gc/space/
Ddlmalloc_space.cc383 Heap* heap = runtime->GetHeap(); in ArtDlMallocMoreCore()
Dspace_test.h44 Heap* heap = Runtime::Current()->GetHeap();
Drosalloc_space.cc488 Heap* heap = Runtime::Current()->GetHeap(); in ArtRosAllocMoreCore()
Dlarge_object_space.cc196 Runtime::Current()->GetHeap()->DumpSpaces(LOG_STREAM(FATAL_WITHOUT_ABORT)); in Free()
/art/runtime/
Dtransaction.cc46 heap_(Runtime::Current()->GetHeap()), in Transaction()
141 gc::Heap* heap = Runtime::Current()->GetHeap(); in WriteValueConstraint()
Dstring_builder_append.cc357 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AppendF()
Dvdex_file.cc368 ArrayRef<gc::space::ImageSpace* const> image_spaces(runtime->GetHeap()->GetBootImageSpaces()); in ComputeBootClassPathChecksumString()
Dtransaction_test.cc158 Runtime::Current()->GetHeap()->GetCurrentAllocator())); in TEST_F()
613 gc::Heap* heap = Runtime::Current()->GetHeap(); in TEST_F()
Dthread.cc151 tlsPtr_.card_table = Runtime::Current()->GetHeap()->GetCardTable()->GetBiasedBegin(); in InitCardTable()
2445 Runtime::Current()->GetHeap()->RevokeThreadLocalBuffers(this); in Destroy()
2450 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->RevokeThreadLocalMarkStack(this); in Destroy()
2494 Runtime::Current()->GetHeap()->AssertThreadLocalBuffersAreRevoked(this); in ~Thread()
3734 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VisitDeclaringClass()
4106 if (Runtime::Current()->GetHeap()->IsObjectValidationEnabled()) { in VerifyStackImpl()
Druntime.h307 gc::Heap* GetHeap() const { in GetHeap() function
/art/runtime/interpreter/
Dunstarted_runtime.cc1314 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator(); in UnstartedStringFactoryNewStringFromChars()
1330 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator(); in UnstartedStringFactoryNewStringFromString()
1347 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator(); in UnstartedStringFastSubstring()
1375 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(self, ref); in UnstartedReferenceGetReferent()
1695 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1829 self, array_class, length, runtime->GetHeap()->GetCurrentAllocator()); in UnstartedJNIArrayCreateObjectArray()
Dinterpreter_common.h642 DCHECK(runtime->GetHeap()->ObjectIsInBootImageSpace(obj) || obj->IsClass()); in CheckWriteConstraint()
643 const char* base_msg = runtime->GetHeap()->ObjectIsInBootImageSpace(obj) in CheckWriteConstraint()
Dinterpreter_switch_impl-inl.h743 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in NEW_INSTANCE()
766 Runtime::Current()->GetHeap()->GetCurrentAllocator()); in NEW_ARRAY()
/art/dex2oat/driver/
Dcompiler_driver.cc1034 gc::Heap* heap = Runtime::Current()->GetHeap(); in CanIncludeInCurrentImage()
1194 gc::Heap* heap = runtime->GetHeap(); in MaybeAddToImageClasses()
1305 DCHECK(!Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(klass->GetDexCache())) in operator ()()
2240 runtime->GetHeap()->ObjectIsInBootImageSpace(klass->GetDexCache())) { in TryInitializeClass()
2633 if (Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(klass)) { in operator ()()
2700 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ true); in InitializeClasses()
2938 const gc::Heap* const heap = Runtime::Current()->GetHeap(); in GetMemoryUsageString()
/art/test/common/
Druntime_state.cc102 return Runtime::Current()->GetHeap()->HasBootImageSpace(); in Java_Main_hasImage()
/art/openjdkjvmti/
Dti_class.cc363 art::gc::Heap* heap = art::Runtime::Current()->GetHeap(); in FixupTempClass()
519 art::Runtime::Current()->GetHeap()->VisitObjectsPaused(object_visitor); in FixupHeap()
Dti_redefine.cc1720 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in CollectAndCreateNewInstances()
1793 driver_->self_, driver_->runtime_->GetHeap()->GetCurrentAllocator())); in CollectAndCreateNewInstances()
1888 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in FinishNewClassAllocations()
2430 runtime->GetHeap()->CollectGarbage(/*clear_soft_references=*/false); in ScopedSuspendAllocations()
2502 ScopedDisableConcurrentAndMovingGc sdcamgc(runtime_->GetHeap(), self_); in Run()
/art/runtime/gc/
Dheap.cc2257 GetHeap()->GetNonMovingSpace()->GetLiveBitmap()->Set(forward_address); in MarkNonForwardedObject()
2258 GetHeap()->GetNonMovingSpace()->GetMarkBitmap()->Set(forward_address); in MarkNonForwardedObject()
3685 gc::Heap* heap = Runtime::Current()->GetHeap(); in Run()
3743 gc::Heap* heap = Runtime::Current()->GetHeap(); in Run()
3785 gc::Heap* heap = Runtime::Current()->GetHeap(); in Run()
4267 gc::Heap* heap = Runtime::Current()->GetHeap(); in Run()
/art/runtime/mirror/
Dobject_test.cc159 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in TEST_F()
180 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in TEST_F()
/art/runtime/verifier/
Dreg_type_test.cc675 Runtime::Current()->GetHeap()->IncrementDisableMovingGC(self); in ScopedDisableMovingGC()
678 Runtime::Current()->GetHeap()->DecrementDisableMovingGC(self); in ~ScopedDisableMovingGC()
/art/oatdump/
Doatdump.cc1682 if (runtime != nullptr && !runtime->GetHeap()->GetBootImageSpaces().empty()) { in DumpDataBimgRelRoEntries()
1684 runtime->GetHeap()->GetBootImageSpaces(); in DumpDataBimgRelRoEntries()
1686 auto live_objects = GetBootImageLiveObjectsDataRange(runtime->GetHeap()); in DumpDataBimgRelRoEntries()
1920 gc::Heap* heap = runtime->GetHeap(); in Dump()
2816 gc::Heap* heap = runtime->GetHeap(); in DumpImages()
/art/perfetto_hprof/
Dperfetto_hprof.cc569 art::Runtime::Current()->GetHeap()->VisitObjectsPaused( in DumpPerfetto()

12345