Home
last modified time | relevance | path

Searched refs:GetHeap (Results 26 – 50 of 123) sorted by relevance

12345

/art/compiler/optimizing/
Dsharpening.cc40 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsInBootImage()
179 } else if (klass != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(klass.Get())) { in ComputeLoadClassKind()
193 runtime->GetHeap()->ObjectIsInBootImageSpace(klass.Get()); in ComputeLoadClassKind()
352 if (runtime->GetHeap()->ObjectIsInBootImageSpace(string)) { in ProcessLoadString()
369 gc::Heap* heap = runtime->GetHeap(); in ProcessLoadString()
388 if (string != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(string)) { in ProcessLoadString()
Dintrinsics.cc63 gc::Heap* heap = Runtime::Current()->GetHeap(); in GetBootImageLiveObjects()
133 DCHECK(Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(boot_image_object)); in CheckIntegerCache()
207 if (runtime->GetHeap()->GetBootImageSpaces().empty()) { in ComputeIntegerValueOfLocations()
266 gc::Heap* heap = Runtime::Current()->GetHeap(); in CalculateBootImageOffset()
369 CHECK(!art::Runtime::Current()->GetHeap()->IsMovableObject(string_class)); in AssertNonMovableStringClass()
/art/test/1001-app-image-regions/
Dapp_image_regions.cc39 for (auto* space : Runtime::Current()->GetHeap()->GetContinuousSpaces()) { in Java_Main_checkAppImageSectionSize()
/art/runtime/
Dwrite_barrier-inl.h51 return Runtime::Current()->GetHeap()->GetCardTable(); in GetCardTable()
Dcommon_runtime_test.cc157 runtime_->GetHeap()->CreateThreadPool(); in FinalizeSetup()
158 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption before the test in FinalizeSetup()
160 runtime_->GetHeap()->SetMinIntervalHomogeneousSpaceCompactionByOom(0U); in FinalizeSetup()
166 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption after the test in TearDown()
334 Runtime::Current()->GetHeap()->SetIdealFootprint(1 * GB); in FillHeap()
355 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in FillHeap()
397 if (use_runtime_bcp_and_image && runtime->GetHeap()->GetBootImageSpaces().empty()) { in StartDex2OatCommandLine()
415 runtime->GetHeap()->GetBootImageSpaces(); in StartDex2OatCommandLine()
Druntime.cc707 GetHeap()->SweepAllocationRecords(visitor); in SweepSystemWeaks()
866 if (!IsImageDex2OatEnabled() || !GetHeap()->HasBootImageSpace()) { in Start()
1170 gc::AllocatorType allocator_type = runtime->GetHeap()->GetCurrentAllocator(); in CreatePreAllocatedException()
1555 GetHeap()->EnableObjectValidation(); in Init()
1557 CHECK_GE(GetHeap()->GetContinuousSpaces().size(), 1U); in Init()
1566 if (GetHeap()->HasBootImageSpace()) { in Init()
1573 for (auto image_space : GetHeap()->GetBootImageSpaces()) { in Init()
1646 if (GetHeap()->HasBootImageSpace()) { in Init()
1647 const ImageHeader& image_header = GetHeap()->GetBootImageSpaces()[0]->GetImageHeader(); in Init()
2011 GetHeap()->DumpForSigQuit(os); in DumpForSigQuit()
[all …]
Ddebugger.cc432 gc::Heap* heap = Runtime::Current()->GetHeap(); in DdmSendHeapInfo()
663 gc::Heap* heap = Runtime::Current()->GetHeap(); in ExamineJavaObject()
738 gc::Heap* heap = Runtime::Current()->GetHeap(); in DdmSendHeapSegments()
953 gc::AllocRecordObjectMap* records = Runtime::Current()->GetHeap()->GetAllocationRecords(); in GetRecentAllocations()
958 CHECK(!Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in GetRecentAllocations()
Dsignal_catcher.cc147 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in HandleSigUsr1()
Dreference_table.cc211 if (runtime->GetHeap()->IsAllocTrackingEnabled()) { in Dump()
214 gc::AllocRecordObjectMap* records = runtime->GetHeap()->GetAllocationRecords(); in Dump()
/art/runtime/gc/accounting/
Dmod_union_table_test.cc89 Runtime::Current()->GetHeap()->GetCardTable()->MarkCard(klass); in GetObjectArrayClass()
157 return new ModUnionTableCardCache(name.str(), Runtime::Current()->GetHeap(), space); in Create()
160 return new ModUnionTableRefCacheToSpace(name.str(), Runtime::Current()->GetHeap(), space, in Create()
182 gc::Heap* const heap = runtime->GetHeap(); in RunTest()
Dremembered_set.h67 Heap* GetHeap() const { in GetHeap() function
Dmod_union_table.h104 Heap* GetHeap() const { in GetHeap() function
/art/runtime/gc/space/
Dimage_space_test.cc327 ASSERT_FALSE(runtime->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
336 ArrayRef<gc::space::ImageSpace* const>(runtime->GetHeap()->GetBootImageSpaces()), in TEST_F()
419 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
424 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
429 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
474 EXPECT_TRUE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
Dzygote_space.cc124 accounting::CardTable* card_table = Runtime::Current()->GetHeap()->GetCardTable(); in SweepCallback()
/art/runtime/native/
Ddalvik_system_VMDebug.cc291 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClass()
309 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClasses()
359 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_getInstancesOfClasses()
399 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getHeapSpaceStats()
458 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatInternal()
519 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatsInternal()
616 runtime->GetHeap()->SetAllocTrackerStackDepth(static_cast<size_t>(stack_depth)); in VMDebug_setAllocTrackerStackDepth()
Djava_lang_reflect_Array.cc73 runtime->GetHeap()->GetCurrentAllocator()); in Array_createObjectArray()
/art/openjdkjvmti/
Dalloc_manager.cc149 art::Runtime::Current()->GetHeap()->RemoveAllocationListener(); in DecrListenerInstall()
159 art::Runtime::Current()->GetHeap()->SetAllocationListener(alloc_listener_.get()); in IncrListenerInstall()
/art/dex2oat/linker/
Dimage_write_read_test.cc42 gc::Heap* heap = Runtime::Current()->GetHeap(); in TestWriteRead()
88 gc::Heap* heap = Runtime::Current()->GetHeap(); in TestWriteRead()
/art/runtime/mirror/
Dstring.cc89 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in DoReplace()
127 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromStrings()
165 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromUtf16()
202 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromModifiedUtf8()
Dobject.cc158 gc::Heap* heap = Runtime::Current()->GetHeap(); in Clone()
233 !runtime->GetHeap()->IsObjectValidationEnabled() || !c->IsResolved()) { in CheckFieldAssignmentImpl()
/art/imgdiag/
Dimgdiag_test.cc51 Runtime::Current()->GetHeap()->GetBootImageSpaces(); in SetUp()
/art/runtime/gc/
Dallocation_record.cc142 Heap* heap = Runtime::Current()->GetHeap(); in SetAllocTrackingEnabled()
214 Heap* const heap = Runtime::Current()->GetHeap(); in RecordAllocation()
/art/openjdkjvm/
DOpenjdkJvm.cc294 return art::Runtime::Current()->GetHeap()->GetFreeMemory(); in JVM_FreeMemory()
298 return art::Runtime::Current()->GetHeap()->GetTotalMemory(); in JVM_TotalMemory()
302 return art::Runtime::Current()->GetHeap()->GetMaxMemory(); in JVM_MaxMemory()
310 art::Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in JVM_GC()
/art/runtime/jit/
Djit.cc637 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in NotifyZygoteCompilationDone()
696 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in NotifyZygoteCompilationDone()
724 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in NotifyZygoteCompilationDone()
940 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in Run()
1075 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in MapBootImageMethods()
1193 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in HasImageWithProfile()
1240 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in CreateThreadPool()
1832 Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(method->GetDeclaringClass()); in CanEncodeMethod()
1836 return !is_for_shared_region || Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(cls); in CanEncodeClass()
1840 return !is_for_shared_region || Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(string); in CanEncodeString()
/art/runtime/gc/collector/
Dgarbage_collector.h71 Heap* GetHeap() const { in GetHeap() function

12345