Home
last modified time | relevance | path

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

123

/art/runtime/gc/collector/
Dsemi_space.cc65 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
74 CHECK(space == GetHeap()->GetPrimaryFreeListSpace() || in BindBitmaps()
75 space == GetHeap()->GetNonMovingSpace()); in BindBitmaps()
110 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
111 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
114 GetHeap()->PostGcVerificationPaused(this); in RunPhases()
119 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
120 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
127 GetHeap()->PostGcVerification(this); in RunPhases()
151 promo_dest_space_ = GetHeap()->GetPrimaryFreeListSpace(); in InitializePhase()
[all …]
Dsticky_mark_sweep.cc40 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
47 GetHeap()->GetLargeObjectsSpace()->CopyLiveToMarked(); in BindBitmaps()
59 SweepArray(GetHeap()->GetLiveStack(), false); in Sweep()
Dmark_sweep.cc87 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
145 GetHeap()->PreGcVerification(this); in RunPhases()
151 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
156 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
158 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
167 GetHeap()->PostGcVerification(this); in RunPhases()
173 GetHeap()->GetReferenceProcessor()->ProcessReferences( in ProcessReferences()
207 GetHeap()->GetReferenceProcessor()->EnableSlowPath(); in PausePhase()
298 GetHeap()->UnBindBitmaps(); in ReclaimPhase()
304 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in FindDefaultSpaceBitmap()
[all …]
Dmark_compact.cc62 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
81 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
82 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
86 GetHeap()->PostGcVerification(this); in RunPhases()
155 Runtime::Current()->GetHeap()->DumpSpaces(LOG(ERROR)); in operator ()()
272 GetHeap()->UnBindBitmaps(); // Unbind the live and mark bitmaps. in ReclaimPhase()
535 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in Sweep()
618 GetHeap()->RevokeAllThreadLocalBuffers(); in RevokeAllThreadLocalBuffers()
Dpartial_mark_sweep.cc39 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
Dgarbage_collector.cc109 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in SwapBitmaps()
124 for (const auto& disc_space : GetHeap()->GetDiscontinuousSpaces()) { in SwapBitmaps()
/art/runtime/native/
Djava_lang_Runtime.cc37 Runtime::Current()->GetHeap()->CollectGarbage(false); in Runtime_gc()
86 return Runtime::Current()->GetHeap()->GetMaxMemory(); in Runtime_maxMemory()
90 return Runtime::Current()->GetHeap()->GetTotalMemory(); in Runtime_totalMemory()
94 return Runtime::Current()->GetHeap()->GetFreeMemory(); in Runtime_freeMemory()
Ddalvik_system_VMRuntime.cc46 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization()
50 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization()
77 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentNonMovingAllocator(); in VMRuntime_newNonMovableArray()
101 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator(); in VMRuntime_newUnpaddedArray()
118 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf()
126 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit()
191 Runtime::Current()->GetHeap()->RegisterNativeAllocation(env, static_cast<size_t>(bytes)); in VMRuntime_registerNativeAllocation()
200 Runtime::Current()->GetHeap()->RegisterNativeFree(env, static_cast<size_t>(bytes)); in VMRuntime_registerNativeFree()
204 Runtime::Current()->GetHeap()->UpdateProcessState(static_cast<gc::ProcessState>(process_state)); in VMRuntime_updateProcessState()
209 Runtime::Current()->GetHeap()->DoPendingTransitionOrTrim(); in VMRuntime_trimHeap()
[all …]
Djava_lang_ref_FinalizerReference.cc29 return Runtime::Current()->GetHeap()->GetReferenceProcessor()->MakeCircularListIfUnenqueued(ref); in FinalizerReference_makeCircularListIfUnenqueued()
Djava_lang_ref_Reference.cc30 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(soa.Self(), ref); in Reference_getReferent()
/art/runtime/
Dverify_object-inl.h32 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObject()
43 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObject()
Druntime_android.cc49 gc::Heap* heap = runtime->GetHeap(); in HandleUnexpectedSignal()
Dcommon_runtime_test.cc224 runtime_->GetHeap()->CreateThreadPool(); in SetUp()
225 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption before the test in SetUp()
274 Runtime::Current()->GetHeap()->VerifyHeap(); // Check for heap corruption after the test in TearDown()
/art/runtime/gc/
Dheap_test.cc32 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F()
61 Runtime::Current()->GetHeap()->CollectGarbage(false); in TEST_F()
/art/runtime/mirror/
Dobject_array-inl.h50 Runtime::Current()->GetHeap()->GetCurrentAllocator()); in Alloc()
151 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); in AssignableMemmove()
183 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); in AssignableMemcpy()
227 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); in AssignableCheckingMemcpy()
250 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyOf()
Dobject.cc83 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyObject()
124 gc::Heap* heap = Runtime::Current()->GetHeap(); in Clone()
198 !runtime->GetHeap()->IsObjectValidationEnabled() || !c->IsResolved()) { in CheckFieldAssignmentImpl()
Dobject_test.cc163 Runtime::Current()->GetHeap()->GetCurrentAllocator()))); in TEST_F()
169 Runtime::Current()->GetHeap()->GetCurrentAllocator())); in TEST_F()
175 Runtime::Current()->GetHeap()->GetCurrentAllocator())); in TEST_F()
186 Runtime::Current()->GetHeap()->GetCurrentAllocator(), true))); in TEST_F()
192 Runtime::Current()->GetHeap()->GetCurrentAllocator(), true)); in TEST_F()
198 Runtime::Current()->GetHeap()->GetCurrentAllocator(), true)); in TEST_F()
204 Runtime::Current()->GetHeap()->GetCurrentAllocator(), true)); in TEST_F()
275 … Runtime::Current()->GetHeap()->GetCurrentAllocator()); in TEST_F()
/art/runtime/gc/space/
Drosalloc_space_random_test.cc26 Runtime::Current()->GetHeap()->IsLowMemoryMode(), false); in CreateRosAllocSpace()
Drosalloc_space_base_test.cc26 Runtime::Current()->GetHeap()->IsLowMemoryMode(), false); in CreateRosAllocSpace()
Drosalloc_space_static_test.cc26 Runtime::Current()->GetHeap()->IsLowMemoryMode(), false); in CreateRosAllocSpace()
Dspace.cc108 Runtime::Current()->GetHeap()->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in BindLiveToMarkBitmap()
122 Runtime::Current()->GetHeap()->GetMarkBitmap()->ReplaceBitmap(mark_bitmap_.get(), new_bitmap); in UnBindBitmaps()
/art/test/118-noimage-dex2oat/
Dnoimage-dex2oat.cc38 return Runtime::Current()->GetHeap()->HasImageSpace(); in Java_Main_hasImage()
/art/runtime/gc/accounting/
Dremembered_set.h67 Heap* GetHeap() const { in GetHeap() function
Dmod_union_table.cc114 CardTable* card_table = GetHeap()->GetCardTable(); in ClearCards()
178 Heap* heap = mod_union_table_->GetHeap(); in operator ()()
306 CardTable* card_table = GetHeap()->GetCardTable(); in ClearCards()
/art/runtime/entrypoints/quick/
Dquick_instrumentation_entrypoints.cc42 || !Runtime::Current()->GetHeap()->HasImageSpace()); in artInstrumentationMethodEntryFromCode()

123