/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() 51 return Runtime::Current()->GetHeap()->SupportHomogeneousSpaceCompactAndCollectorTransitions() ? in Java_Main_supportCollectorTransition() 56 Runtime::Current()->GetHeap()->TransitionCollector(gc::kCollectorTypeSS); in Java_Main_transitionToSS() 60 Runtime::Current()->GetHeap()->TransitionCollector(gc::kCollectorTypeCMS); in Java_Main_transitionToCMS()
|
/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 | 68 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps() 78 CHECK(space == GetHeap()->GetPrimaryFreeListSpace() || in BindBitmaps() 79 space == GetHeap()->GetNonMovingSpace()); in BindBitmaps() 124 GetHeap()->PreGcVerificationPaused(this); in RunPhases() 125 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 128 GetHeap()->PostGcVerificationPaused(this); in RunPhases() 133 GetHeap()->PreGcVerificationPaused(this); in RunPhases() 134 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 141 GetHeap()->PostGcVerification(this); in RunPhases() 165 promo_dest_space_ = GetHeap()->GetPrimaryFreeListSpace(); in InitializePhase() [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( in ProcessReferences() 216 GetHeap()->GetReferenceProcessor()->EnableSlowPath(); in PausePhase() 353 GetHeap()->RecordFreeRevoke(); in ReclaimPhase() 361 GetHeap()->UnBindBitmaps(); in ReclaimPhase() [all …]
|
D | garbage_collector.cc | 151 GetHeap()->CalculatePreGcWeightedAllocatedBytes(); in Run() 158 GetHeap()->CalculatePostGcWeightedAllocatedBytes(); in Run() 193 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in SwapBitmaps() 208 for (const auto& disc_space : GetHeap()->GetDiscontinuousSpaces()) { in SwapBitmaps() 242 GcPauseListener* pause_listener = runtime->GetHeap()->GetGcPauseListener(); in ScopedPause() 253 GcPauseListener* pause_listener = runtime->GetHeap()->GetGcPauseListener(); in ~ScopedPause()
|
/art/runtime/mirror/ |
D | class-alloc-inl.h | 51 gc::Heap* heap = Runtime::Current()->GetHeap(); in Alloc() 74 return Alloc<true>(self, Runtime::Current()->GetHeap()->GetCurrentAllocator()); in AllocObject() 78 return Alloc<true>(self, Runtime::Current()->GetHeap()->GetCurrentNonMovingAllocator()); in AllocNonMovableObject()
|
D | object_array-alloc-inl.h | 60 Runtime::Current()->GetHeap()->GetCurrentAllocator()); in Alloc() 69 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyOf()
|
/art/runtime/ |
D | read_barrier-inl.h | 82 gc::Heap* heap = Runtime::Current()->GetHeap(); in Barrier() 133 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot() 174 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot() 209 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->IsMarked(ref)); in IsMarked() 213 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsDuringStartup() 236 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant() 247 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant() 253 return Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->MarkFromReadBarrier(obj); in Mark()
|
D | verify_object.cc | 31 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl() 42 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl()
|
D | common_runtime_test.cc | 180 runtime_->GetHeap()->CreateThreadPool(); in FinalizeSetup() 181 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption before the test in FinalizeSetup() 183 runtime_->GetHeap()->SetMinIntervalHomogeneousSpaceCompactionByOom(0U); in FinalizeSetup() 189 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption after the test in TearDown() 346 Runtime::Current()->GetHeap()->SetIdealFootprint(1 * GB); in FillHeap() 367 size_t mem = Runtime::Current()->GetHeap()->GetFreeMemory(); in FillHeap() 409 runtime->GetHeap()->GetBootImageSpaces(); in StartDex2OatCommandLine()
|
/art/runtime/gc/ |
D | system_weak_test.cc | 111 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesAllowOrBroadcast() 125 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesDisallow() 148 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 169 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 193 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 208 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
|
D | heap_test.cc | 54 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() 84 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 98 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F() 111 Runtime::Current()->GetHeap()->PreZygoteFork(); in TEST_F()
|
D | heap_verification_test.cc | 50 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() 78 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() 97 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() 108 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 130 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 157 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 176 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()
|
/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/runtime/jni/ |
D | java_vm_ext_test.cc | 147 ASSERT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 159 EXPECT_TRUE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 165 EXPECT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 172 EXPECT_TRUE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 178 EXPECT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 70 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization() 74 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization() 120 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentNonMovingAllocator(); in VMRuntime_newNonMovableArray() 147 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator(); in VMRuntime_newUnpaddedArray() 167 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf() 175 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit() 179 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit() 291 Runtime::Current()->GetHeap()->RegisterNativeAllocation(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeAllocation() 300 Runtime::Current()->GetHeap()->RegisterNativeFree(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeFree() 304 return Runtime::Current()->GetHeap()->GetNotifyNativeInterval(); in VMRuntime_getNotifyNativeInterval() [all …]
|
D | java_lang_ref_Reference.cc | 35 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(soa.Self(), ref); in Reference_getReferent() 42 Runtime::Current()->GetHeap()->GetReferenceProcessor()->ClearReferent(ref); in Reference_clearReferent()
|
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_StringFactory.cc | 49 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromBytes() 66 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromChars() 83 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromString()
|
/art/test/596-app-images/ |
D | app_images.cc | 39 for (auto* space : Runtime::Current()->GetHeap()->GetContinuousSpaces()) { in Java_Main_checkAppImageLoaded() 54 for (auto* space : Runtime::Current()->GetHeap()->GetContinuousSpaces()) { in Java_Main_checkAppImageContains()
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 153 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F() 158 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F() 163 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F() 205 EXPECT_TRUE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
|
D | rosalloc_space_static_test.cc | 32 Runtime::Current()->GetHeap()->IsLowMemoryMode(), in CreateRosAllocSpace()
|
D | rosalloc_space_random_test.cc | 33 Runtime::Current()->GetHeap()->IsLowMemoryMode(), in CreateRosAllocSpace()
|
/art/test/596-monitor-inflation/ |
D | monitor_inflation.cc | 27 Runtime::Current()->GetHeap()->Trim(Thread::Current()); in Java_Main_trim()
|