Home
last modified time | relevance | path

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

1234

/art/runtime/
Dread_barrier-inl.h61 gc::Heap* heap = Runtime::Current()->GetHeap(); in Barrier()
87 if (Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->IsMarking()) { in BarrierForRoot()
101 if (Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot()
127 if (Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->IsMarking()) { in BarrierForRoot()
141 if (Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot()
158 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsDuringStartup()
181 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant()
187 return Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()->Mark(obj); in Mark()
Dverify_object-inl.h31 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObject()
42 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); in VerifyObject()
Druntime_android.cc48 gc::Heap* heap = runtime->GetHeap(); in HandleUnexpectedSignal()
/art/runtime/gc/collector/
Dsemi_space.cc66 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
75 CHECK(space == GetHeap()->GetPrimaryFreeListSpace() || in BindBitmaps()
76 space == GetHeap()->GetNonMovingSpace()); in BindBitmaps()
111 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
112 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
115 GetHeap()->PostGcVerificationPaused(this); in RunPhases()
120 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
121 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
128 GetHeap()->PostGcVerification(this); in RunPhases()
152 promo_dest_space_ = GetHeap()->GetPrimaryFreeListSpace(); in InitializePhase()
[all …]
Dsticky_mark_sweep.cc39 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
46 for (const auto& space : GetHeap()->GetDiscontinuousSpaces()) { in BindBitmaps()
62 SweepArray(GetHeap()->GetLiveStack(), false); in Sweep()
Dmark_sweep.cc91 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
149 GetHeap()->PreGcVerification(this); in RunPhases()
155 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
160 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
162 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
171 GetHeap()->PostGcVerification(this); in RunPhases()
177 GetHeap()->GetReferenceProcessor()->ProcessReferences( in ProcessReferences()
211 GetHeap()->GetReferenceProcessor()->EnableSlowPath(); in PausePhase()
296 GetHeap()->RecordFreeRevoke(); in ReclaimPhase()
304 GetHeap()->UnBindBitmaps(); in ReclaimPhase()
[all …]
Dmark_compact.cc60 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
79 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
80 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
84 GetHeap()->PostGcVerification(this); in RunPhases()
153 Runtime::Current()->GetHeap()->DumpSpaces(LOG(ERROR)); in operator ()()
270 GetHeap()->UnBindBitmaps(); // Unbind the live and mark bitmaps. in ReclaimPhase()
570 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in Sweep()
656 GetHeap()->RevokeAllThreadLocalBuffers(); in RevokeAllThreadLocalBuffers()
Dpartial_mark_sweep.cc39 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
/art/runtime/native/
Djava_lang_Runtime.cc46 Runtime::Current()->GetHeap()->CollectGarbage(false); in Runtime_gc()
94 return Runtime::Current()->GetHeap()->GetMaxMemory(); in Runtime_maxMemory()
98 return Runtime::Current()->GetHeap()->GetTotalMemory(); in Runtime_totalMemory()
102 return Runtime::Current()->GetHeap()->GetFreeMemory(); in Runtime_freeMemory()
Ddalvik_system_VMRuntime.cc56 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization()
60 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization()
87 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentNonMovingAllocator(); in VMRuntime_newNonMovableArray()
112 gc::AllocatorType allocator = runtime->GetHeap()->GetCurrentAllocator(); in VMRuntime_newUnpaddedArray()
129 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf()
137 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit()
141 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit()
212 Runtime::Current()->GetHeap()->RegisterNativeAllocation(env, static_cast<size_t>(bytes)); in VMRuntime_registerNativeAllocation()
221 Runtime::Current()->GetHeap()->RegisterNativeFree(env, static_cast<size_t>(bytes)); in VMRuntime_registerNativeFree()
226 runtime->GetHeap()->UpdateProcessState(static_cast<gc::ProcessState>(process_state)); in VMRuntime_updateProcessState()
[all …]
Djava_lang_StringFactory.cc46 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromBytes()
58 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromChars()
73 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromString()
Djava_lang_ref_FinalizerReference.cc31 return Runtime::Current()->GetHeap()->GetReferenceProcessor()->MakeCircularListIfUnenqueued(ref); in FinalizerReference_makeCircularListIfUnenqueued()
Djava_lang_ref_Reference.cc32 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(soa.Self(), ref); in Reference_getReferent()
/art/runtime/gc/
Dheap_test.cc33 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F()
62 Runtime::Current()->GetHeap()->CollectGarbage(false); in TEST_F()
84 Runtime::Current()->GetHeap()->PreZygoteFork(); in TEST_F()
/art/runtime/mirror/
Dobject_array-inl.h55 Runtime::Current()->GetHeap()->GetCurrentAllocator()); in Alloc()
156 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); in AssignableMemmove()
188 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); in AssignableMemcpy()
232 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); in AssignableCheckingMemcpy()
254 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyOf()
Dobject.cc85 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyObject()
125 gc::Heap* heap = Runtime::Current()->GetHeap(); in Clone()
202 !runtime->GetHeap()->IsObjectValidationEnabled() || !c->IsResolved()) { in CheckFieldAssignmentImpl()
Dstring.cc84 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromStrings()
98 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromUtf16()
117 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromModifiedUtf8()
Darray.cc53 Runtime::Current()->GetHeap()->GetCurrentAllocator()))); in RecursiveCreateMultiArray()
134 auto* heap = Runtime::Current()->GetHeap(); in CopyOf()
/art/runtime/gc/accounting/
Dmod_union_table_test.cc87 Runtime::Current()->GetHeap()->GetCardTable()->MarkCard(klass); in GetObjectArrayClass()
142 return new ModUnionTableCardCache(name.str(), Runtime::Current()->GetHeap(), space); in Create()
145 return new ModUnionTableRefCacheToSpace(name.str(), Runtime::Current()->GetHeap(), space, in Create()
167 gc::Heap* const heap = runtime->GetHeap(); in RunTest()
Dremembered_set.h67 Heap* GetHeap() const { in GetHeap() function
/art/runtime/gc/space/
Drosalloc_space_base_test.cc26 Runtime::Current()->GetHeap()->IsLowMemoryMode(), false); in CreateRosAllocSpace()
Drosalloc_space_random_test.cc26 Runtime::Current()->GetHeap()->IsLowMemoryMode(), false); in CreateRosAllocSpace()
Drosalloc_space_static_test.cc26 Runtime::Current()->GetHeap()->IsLowMemoryMode(), false); in CreateRosAllocSpace()
Dspace.cc113 Runtime::Current()->GetHeap()->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in BindLiveToMarkBitmap()
127 Runtime::Current()->GetHeap()->GetMarkBitmap()->ReplaceBitmap(mark_bitmap_.get(), new_bitmap); in UnBindBitmaps()
/art/test/118-noimage-dex2oat/
Dnoimage-dex2oat.cc37 return Runtime::Current()->GetHeap()->HasImageSpace(); in Java_Main_hasImage()

1234