/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 | 67 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps() 77 CHECK(space == GetHeap()->GetPrimaryFreeListSpace() || in BindBitmaps() 78 space == GetHeap()->GetNonMovingSpace()); in BindBitmaps() 123 GetHeap()->PreGcVerificationPaused(this); in RunPhases() 124 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 127 GetHeap()->PostGcVerificationPaused(this); in RunPhases() 132 GetHeap()->PreGcVerificationPaused(this); in RunPhases() 133 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 140 GetHeap()->PostGcVerification(this); in RunPhases() 164 promo_dest_space_ = GetHeap()->GetPrimaryFreeListSpace(); in InitializePhase() [all …]
|
D | mark_sweep.cc | 87 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps() 150 GetHeap()->PreGcVerification(this); in RunPhases() 156 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 161 GetHeap()->PreGcVerificationPaused(this); in RunPhases() 163 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases() 172 GetHeap()->PostGcVerification(this); in RunPhases() 178 GetHeap()->GetReferenceProcessor()->ProcessReferences( in ProcessReferences() 214 GetHeap()->GetReferenceProcessor()->EnableSlowPath(); in PausePhase() 351 GetHeap()->RecordFreeRevoke(); in ReclaimPhase() 359 GetHeap()->UnBindBitmaps(); in ReclaimPhase() [all …]
|
D | garbage_collector.cc | 126 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in SwapBitmaps() 141 for (const auto& disc_space : GetHeap()->GetDiscontinuousSpaces()) { in SwapBitmaps() 172 GcPauseListener* pause_listener = runtime->GetHeap()->GetGcPauseListener(); in ScopedPause() 183 GcPauseListener* pause_listener = runtime->GetHeap()->GetGcPauseListener(); in ~ScopedPause()
|
D | partial_mark_sweep.cc | 39 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
|
/art/runtime/ |
D | read_barrier-inl.h | 80 gc::Heap* heap = Runtime::Current()->GetHeap(); in Barrier() 128 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot() 169 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot() 204 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->IsMarked(ref)); in IsMarked() 208 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsDuringStartup() 231 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant() 242 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant() 248 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 | java_vm_ext_test.cc | 146 ASSERT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 158 EXPECT_TRUE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 164 EXPECT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 171 EXPECT_TRUE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F() 177 EXPECT_FALSE(Runtime::Current()->GetHeap()->IsAllocTrackingEnabled()); in TEST_F()
|
/art/runtime/gc/ |
D | system_weak_test.cc | 110 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesAllowOrBroadcast() 122 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesDisallow() 145 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F() 166 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F() 190 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F() 205 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F()
|
D | scoped_gc_critical_section.cc | 31 Runtime::Current()->GetHeap()->StartGC(self, cause, collector_type); in ScopedGCCriticalSection() 40 Runtime::Current()->GetHeap()->FinishGC(self_, collector::kGcTypeNone); in ~ScopedGCCriticalSection()
|
D | heap_test.cc | 52 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() 81 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F() 95 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in TEST_F() 108 Runtime::Current()->GetHeap()->PreZygoteFork(); in TEST_F()
|
D | heap_verification_test.cc | 49 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() 77 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() 91 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() 102 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 118 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 139 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() 159 const Verification* const v = runtime->GetHeap()->GetVerification(); 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/runtime/native/ |
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 | 48 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromBytes() 65 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromChars() 82 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromString()
|
D | dalvik_system_VMRuntime.cc | 64 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization() 68 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() 165 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf() 173 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit() 177 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit() 276 Runtime::Current()->GetHeap()->RegisterNativeAllocation(env, static_cast<size_t>(bytes)); in VMRuntime_registerNativeAllocation() 289 Runtime::Current()->GetHeap()->RegisterNativeFree(env, static_cast<size_t>(bytes)); in VMRuntime_registerNativeFree() 298 Runtime::Current()->GetHeap()->Trim(ThreadForEnv(env)); in VMRuntime_trimHeap() [all …]
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 135 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F() 140 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F() 145 EXPECT_TRUE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F() 150 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
|
D | rosalloc_space_static_test.cc | 26 Runtime::Current()->GetHeap()->IsLowMemoryMode(), false); in CreateRosAllocSpace()
|
D | rosalloc_space_random_test.cc | 26 Runtime::Current()->GetHeap()->IsLowMemoryMode(), false); in CreateRosAllocSpace()
|
/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/test/596-monitor-inflation/ |
D | monitor_inflation.cc | 27 Runtime::Current()->GetHeap()->Trim(Thread::Current()); in Java_Main_trim()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 88 Runtime::Current()->GetHeap()->GetCardTable()->MarkCard(klass); in GetObjectArrayClass() 156 return new ModUnionTableCardCache(name.str(), Runtime::Current()->GetHeap(), space); in Create() 159 return new ModUnionTableRefCacheToSpace(name.str(), Runtime::Current()->GetHeap(), space, in Create() 181 gc::Heap* const heap = runtime->GetHeap(); in RunTest()
|
/art/compiler/optimizing/ |
D | sharpening.cc | 58 Runtime::Current()->GetHeap()->GetBootImageSpaces(); in IsInBootImage() 192 runtime->GetHeap()->ObjectIsInBootImageSpace(klass.Get()); in ComputeLoadClassKind() 278 if (runtime->GetHeap()->ObjectIsInBootImageSpace(string)) { in ProcessLoadString() 289 if (string != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(string)) { in ProcessLoadString()
|