Home
last modified time | relevance | path

Searched refs:GetHeap (Results 1 – 25 of 123) sorted by relevance

12345

/art/test/1337-gc-coverage/
Dgc_coverage.cc27 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/gc/
Dscoped_gc_critical_section.cc28 Runtime::Current()->GetHeap()->StartGC(self_, cause, type); in Enter()
47 Runtime::Current()->GetHeap()->FinishGC(self_, collector::kGcTypeNone); in Exit()
66 Runtime::Current()->GetHeap()->StartGC(self_, cause, type); in ScopedInterruptibleGCCriticalSection()
70 Runtime::Current()->GetHeap()->FinishGC(self_, collector::kGcTypeNone); in ~ScopedInterruptibleGCCriticalSection()
Dsystem_weak_test.cc111 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesAllowOrBroadcast()
124 CollectorType type = Runtime::Current()->GetHeap()->CurrentCollectorType(); in CollectorDoesDisallow()
147 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
168 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
192 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
207 Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references= */ false); in TEST_F()
Dheap_test.cc54 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()
Dheap_verification_test.cc50 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()
/art/runtime/gc/collector/
Dsticky_mark_sweep.cc42 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
49 for (const auto& space : GetHeap()->GetDiscontinuousSpaces()) { in BindBitmaps()
77 SweepArray(GetHeap()->GetLiveStack(), false); in Sweep()
Dsemi_space.cc66 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 GetHeap()->GetReferenceProcessor()->ProcessReferences( in ProcessReferences()
205 GetHeap()->RecordFreeRevoke(); // This is for the non-moving rosalloc space. in MarkingPhase()
[all …]
Dmark_sweep.cc87 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 …]
Dgarbage_collector.cc151 GetHeap()->CalculatePreGcWeightedAllocatedBytes(); in Run()
158 GetHeap()->CalculatePostGcWeightedAllocatedBytes(); in Run()
193 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in SwapBitmaps()
204 for (const auto& disc_space : GetHeap()->GetDiscontinuousSpaces()) { in SwapBitmaps()
233 GcPauseListener* pause_listener = runtime->GetHeap()->GetGcPauseListener(); in ScopedPause()
244 GcPauseListener* pause_listener = runtime->GetHeap()->GetGcPauseListener(); in ~ScopedPause()
Dpartial_mark_sweep.cc39 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
/art/runtime/mirror/
Dclass-alloc-inl.h52 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()
Dobject_array-alloc-inl.h60 Runtime::Current()->GetHeap()->GetCurrentAllocator()); in Alloc()
68 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyOf()
Darray.cc56 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in RecursiveCreateMultiArray()
124 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in Alloc()
145 auto* heap = Runtime::Current()->GetHeap(); in CopyOf()
/art/runtime/
Dverify_object.cc31 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl()
42 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObjectImpl()
Dread_barrier-inl.h82 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()
/art/test/148-multithread-gc-annotations/
Dgc_coverage.cc27 return Runtime::Current()->GetHeap()->PerformHomogeneousSpaceCompact() == gc::kSuccess ? in Java_MovingGCThread_performHomogeneousSpaceCompact()
32 return Runtime::Current()->GetHeap()->SupportHomogeneousSpaceCompactAndCollectorTransitions() ? in Java_MovingGCThread_supportHomogeneousSpaceCompact()
/art/runtime/jni/
Djava_vm_ext_test.cc147 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/
Djava_lang_ref_Reference.cc35 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(soa.Self(), ref); in Reference_getReferent()
42 Runtime::Current()->GetHeap()->GetReferenceProcessor()->ClearReferent(ref); in Reference_clearReferent()
Djava_lang_ref_FinalizerReference.cc34 return Runtime::Current()->GetHeap()->GetReferenceProcessor()->MakeCircularListIfUnenqueued(ref); in FinalizerReference_makeCircularListIfUnenqueued()
41 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(soa.Self(), ref); in FinalizerReference_getReferent()
Djava_lang_StringFactory.cc49 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()
Ddalvik_system_VMRuntime.cc72 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization()
76 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization()
122 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentNonMovingAllocator(); in VMRuntime_newNonMovableArray()
149 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()
304 Runtime::Current()->GetHeap()->RegisterNativeAllocation(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeAllocation()
313 Runtime::Current()->GetHeap()->RegisterNativeFree(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeFree()
317 return Runtime::Current()->GetHeap()->GetNotifyNativeInterval(); in VMRuntime_getNotifyNativeInterval()
[all …]
/art/test/596-app-images/
Dapp_images.cc60 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/
Dmonitor_inflation.cc27 Runtime::Current()->GetHeap()->Trim(Thread::Current()); in Java_Main_trim()
/art/runtime/gc/space/
Drosalloc_space_random_test.cc34 Runtime::Current()->GetHeap()->IsLowMemoryMode(), in CreateRosAllocSpace()
Drosalloc_space_static_test.cc33 Runtime::Current()->GetHeap()->IsLowMemoryMode(), in CreateRosAllocSpace()

12345