/art/compiler/optimizing/ |
D | sharpening.cc | 40 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()
|
D | intrinsics.cc | 63 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/ |
D | app_image_regions.cc | 39 for (auto* space : Runtime::Current()->GetHeap()->GetContinuousSpaces()) { in Java_Main_checkAppImageSectionSize()
|
/art/runtime/ |
D | write_barrier-inl.h | 51 return Runtime::Current()->GetHeap()->GetCardTable(); in GetCardTable()
|
D | common_runtime_test.cc | 157 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()
|
D | runtime.cc | 707 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 …]
|
D | debugger.cc | 432 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()
|
D | signal_catcher.cc | 147 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in HandleSigUsr1()
|
D | reference_table.cc | 211 if (runtime->GetHeap()->IsAllocTrackingEnabled()) { in Dump() 214 gc::AllocRecordObjectMap* records = runtime->GetHeap()->GetAllocationRecords(); in Dump()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 89 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()
|
D | remembered_set.h | 67 Heap* GetHeap() const { in GetHeap() function
|
D | mod_union_table.h | 104 Heap* GetHeap() const { in GetHeap() function
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 327 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()
|
D | zygote_space.cc | 124 accounting::CardTable* card_table = Runtime::Current()->GetHeap()->GetCardTable(); in SweepCallback()
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 291 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()
|
D | java_lang_reflect_Array.cc | 73 runtime->GetHeap()->GetCurrentAllocator()); in Array_createObjectArray()
|
/art/openjdkjvmti/ |
D | alloc_manager.cc | 149 art::Runtime::Current()->GetHeap()->RemoveAllocationListener(); in DecrListenerInstall() 159 art::Runtime::Current()->GetHeap()->SetAllocationListener(alloc_listener_.get()); in IncrListenerInstall()
|
/art/dex2oat/linker/ |
D | image_write_read_test.cc | 42 gc::Heap* heap = Runtime::Current()->GetHeap(); in TestWriteRead() 88 gc::Heap* heap = Runtime::Current()->GetHeap(); in TestWriteRead()
|
/art/runtime/mirror/ |
D | string.cc | 89 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()
|
D | object.cc | 158 gc::Heap* heap = Runtime::Current()->GetHeap(); in Clone() 233 !runtime->GetHeap()->IsObjectValidationEnabled() || !c->IsResolved()) { in CheckFieldAssignmentImpl()
|
/art/imgdiag/ |
D | imgdiag_test.cc | 51 Runtime::Current()->GetHeap()->GetBootImageSpaces(); in SetUp()
|
/art/runtime/gc/ |
D | allocation_record.cc | 142 Heap* heap = Runtime::Current()->GetHeap(); in SetAllocTrackingEnabled() 214 Heap* const heap = Runtime::Current()->GetHeap(); in RecordAllocation()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 294 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/ |
D | jit.cc | 637 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/ |
D | garbage_collector.h | 71 Heap* GetHeap() const { in GetHeap() function
|