/art/test/1337-gc-coverage/ |
D | gc_coverage.cc | 27 return Runtime::Current()->GetHeap()->PerformHomogeneousSpaceCompact() == gc::kSuccess ? in Java_Main_performHomogeneousSpaceCompact() 32 return Runtime::Current()->GetHeap()->SupportHomogeneousSpaceCompactAndCollectorTransitions() ? in Java_Main_supportHomogeneousSpaceCompact() 37 Runtime::Current()->GetHeap()->IncrementDisableMovingGC(Thread::Current()); in Java_Main_incrementDisableMovingGC() 41 Runtime::Current()->GetHeap()->DecrementDisableMovingGC(Thread::Current()); in Java_Main_decrementDisableMovingGC()
|
/art/runtime/ |
D | read_barrier-inl.h | 76 gc::Heap* heap = Runtime::Current()->GetHeap(); in Barrier() 98 Runtime::Current()->GetHeap()->MarkCompactCollector()->GetFromSpaceAddrFromBarrier(old); in Barrier() 129 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot() 147 Runtime::Current()->GetHeap()->MarkCompactCollector()->GetFromSpaceAddrFromBarrier(ref); in BarrierForRoot() 178 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot() 198 Runtime::Current()->GetHeap()->MarkCompactCollector()->GetFromSpaceAddrFromBarrier(ref); in BarrierForRoot() 222 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->IsMarked(ref)); in IsMarked() 226 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsDuringStartup() 249 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant() 260 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant() [all …]
|
D | verify_object.cc | 31 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl() 42 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl()
|
D | startup_completed_task.cc | 61 !runtime->GetHeap()->HasAppImageSpaceFor(primary_apk_path)) { in Run() 126 runtime->GetHeap()->WaitForGcToComplete(gc::kGcCauseDeletingDexCacheArrays, self); in DeleteStartupDexCaches() 131 for (gc::space::ContinuousSpace* space : runtime->GetHeap()->GetContinuousSpaces()) { in DeleteStartupDexCaches()
|
/art/runtime/gc/collector/ |
D | sticky_mark_sweep.cc | 42 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps() 49 for (const auto& space : GetHeap()->GetDiscontinuousSpaces()) { in BindBitmaps() 77 SweepArray(GetHeap()->GetLiveStack(), false); in Sweep()
|
D | semi_space.cc | 66 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps() 104 GetHeap()->PreGcVerificationPaused(this); in RunPhases() 105 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 108 GetHeap()->PostGcVerificationPaused(this); in RunPhases() 113 GetHeap()->PreGcVerificationPaused(this); in RunPhases() 114 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 121 GetHeap()->PostGcVerification(this); in RunPhases() 143 fallback_space_ = GetHeap()->GetNonMovingSpace(); in InitializePhase() 148 ReferenceProcessor* rp = GetHeap()->GetReferenceProcessor(); in ProcessReferences() 206 GetHeap()->RecordFreeRevoke(); // This is for the non-moving rosalloc space. in MarkingPhase() [all …]
|
D | mark_sweep.cc | 87 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps() 152 GetHeap()->PreGcVerification(this); in RunPhases() 158 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 163 GetHeap()->PreGcVerificationPaused(this); in RunPhases() 165 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 174 GetHeap()->PostGcVerification(this); in RunPhases() 180 GetHeap()->GetReferenceProcessor()->ProcessReferences(self, GetTimings()); in ProcessReferences() 212 ReferenceProcessor* rp = GetHeap()->GetReferenceProcessor(); in PausePhase() 353 GetHeap()->RecordFreeRevoke(); in ReclaimPhase() 361 GetHeap()->UnBindBitmaps(); in ReclaimPhase() [all …]
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 74 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization() 78 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization() 118 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentNonMovingAllocator(); in VMRuntime_newNonMovableArray() 145 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator(); in VMRuntime_newUnpaddedArray() 170 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf() 178 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit() 182 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit() 296 Runtime::Current()->GetHeap()->RegisterNativeAllocation(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeAllocation() 305 Runtime::Current()->GetHeap()->RegisterNativeFree(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeFree() 309 return Runtime::Current()->GetHeap()->GetNotifyNativeInterval(); in VMRuntime_getNotifyNativeInterval() [all …]
|
D | java_lang_ref_FinalizerReference.cc | 34 return Runtime::Current()->GetHeap()->GetReferenceProcessor()->MakeCircularListIfUnenqueued(ref); in FinalizerReference_makeCircularListIfUnenqueued() 41 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(soa.Self(), ref); in FinalizerReference_getReferent()
|
D | java_lang_ref_Reference.cc | 35 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(soa.Self(), ref); in Reference_getReferent() 76 Runtime::Current()->GetHeap()->GetReferenceProcessor()->ClearReferent(ref); in Reference_clearReferent()
|
D | java_lang_StringFactory.cc | 49 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromBytes() 80 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromUtf16Bytes() 96 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromChars() 113 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromString()
|
/art/runtime/mirror/ |
D | class-alloc-inl.h | 52 gc::Heap* heap = Runtime::Current()->GetHeap(); in Alloc() 78 return Alloc(self, Runtime::Current()->GetHeap()->GetCurrentAllocator()); in AllocObject() 82 return Alloc(self, Runtime::Current()->GetHeap()->GetCurrentNonMovingAllocator()); in AllocNonMovableObject()
|
D | object_array-alloc-inl.h | 60 Runtime::Current()->GetHeap()->GetCurrentAllocator()); in Alloc() 68 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyOf()
|
D | array.cc | 56 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in RecursiveCreateMultiArray() 125 gc::AllocatorType allocator_type = runtime->GetHeap()->GetCurrentAllocator(); in Alloc() 146 auto* heap = Runtime::Current()->GetHeap(); in CopyOf()
|
/art/runtime/gc/ |
D | system_weak_test.cc | 115 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesAllowOrBroadcast() 129 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesDisallow() 153 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 179 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 208 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 228 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
|
D | heap_verification_test.cc | 52 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() 80 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() 99 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() 110 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 132 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 159 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 178 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F()
|
D | scoped_gc_critical_section.cc | 28 Runtime::Current()->GetHeap()->StartGC(self_, cause, type); in Enter() 47 Runtime::Current()->GetHeap()->FinishGC(self_, collector::kGcTypeNone); in Exit()
|
D | heap_test.cc | 61 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() 91 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 105 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 114 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() 275 Runtime::Current()->GetHeap()->PreZygoteFork(); in TEST_F()
|
/art/runtime/jni/ |
D | java_vm_ext_test.cc | 151 ASSERT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 163 EXPECT_TRUE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 169 EXPECT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 176 EXPECT_TRUE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 182 EXPECT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F()
|
/art/test/148-multithread-gc-annotations/ |
D | gc_coverage.cc | 27 return Runtime::Current()->GetHeap()->PerformHomogeneousSpaceCompact() == gc::kSuccess ? in Java_MovingGCThread_performHomogeneousSpaceCompact() 32 return Runtime::Current()->GetHeap()->SupportHomogeneousSpaceCompactAndCollectorTransitions() ? in Java_MovingGCThread_supportHomogeneousSpaceCompact()
|
/art/compiler/optimizing/ |
D | sharpening.cc | 40 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsInBootImage() 198 is_in_image = Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(klass.Get()) || in ComputeLoadClassKind() 236 is_in_image = Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(klass.Get()) || in ComputeLoadClassKind() 238 } else if (klass != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(klass.Get())) { in ComputeLoadClassKind() 251 is_in_image = (klass != nullptr) && runtime->GetHeap()->ObjectIsInBootImageSpace(klass.Get()); in ComputeLoadClassKind() 422 if (runtime->GetHeap()->ObjectIsInBootImageSpace(string)) { in ProcessLoadString() 439 gc::Heap* heap = runtime->GetHeap(); in ProcessLoadString() 458 if (string != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(string)) { in ProcessLoadString()
|
/art/test/596-app-images/ |
D | app_images.cc | 60 for (auto* space : Runtime::Current()->GetHeap()->GetContinuousSpaces()) { in Java_Main_checkAppImageLoaded() 79 for (auto* space : Runtime::Current()->GetHeap()->GetContinuousSpaces()) { in Java_Main_checkAppImageContains()
|
/art/test/596-monitor-inflation/ |
D | monitor_inflation.cc | 27 Runtime::Current()->GetHeap()->Trim(Thread::Current()); in Java_Main_trim()
|
/art/runtime/gc/space/ |
D | rosalloc_space_random_test.cc | 34 Runtime::Current()->GetHeap()->IsLowMemoryMode(), in CreateRosAllocSpace()
|
D | rosalloc_space_static_test.cc | 33 Runtime::Current()->GetHeap()->IsLowMemoryMode(), in CreateRosAllocSpace()
|