Home
last modified time | relevance | path

Searched refs:GetHeap (Results 1 – 25 of 104) 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()
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/
Dsticky_mark_sweep.cc38 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
45 for (const auto& space : GetHeap()->GetDiscontinuousSpaces()) { in BindBitmaps()
60 SweepArray(GetHeap()->GetLiveStack(), false); in Sweep()
Dsemi_space.cc66 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
76 CHECK(space == GetHeap()->GetPrimaryFreeListSpace() || in BindBitmaps()
77 space == GetHeap()->GetNonMovingSpace()); in BindBitmaps()
122 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
123 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
126 GetHeap()->PostGcVerificationPaused(this); in RunPhases()
131 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
132 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
139 GetHeap()->PostGcVerification(this); in RunPhases()
163 promo_dest_space_ = GetHeap()->GetPrimaryFreeListSpace(); in InitializePhase()
[all …]
Dmark_sweep.cc85 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
148 GetHeap()->PreGcVerification(this); in RunPhases()
154 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
159 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
161 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
170 GetHeap()->PostGcVerification(this); in RunPhases()
176 GetHeap()->GetReferenceProcessor()->ProcessReferences( in ProcessReferences()
212 GetHeap()->GetReferenceProcessor()->EnableSlowPath(); in PausePhase()
327 GetHeap()->RecordFreeRevoke(); in ReclaimPhase()
335 GetHeap()->UnBindBitmaps(); in ReclaimPhase()
[all …]
Dpartial_mark_sweep.cc39 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
Dmark_compact.cc45 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in BindBitmaps()
64 GetHeap()->PreGcVerificationPaused(this); in RunPhases()
65 GetHeap()->PrePauseRosAllocVerification(this); in RunPhases()
69 GetHeap()->PostGcVerification(this); in RunPhases()
137 Runtime::Current()->GetHeap()->DumpSpaces(LOG(ERROR)); in operator ()()
255 GetHeap()->UnBindBitmaps(); // Unbind the live and mark bitmaps. in ReclaimPhase()
547 for (const auto& space : GetHeap()->GetContinuousSpaces()) { in Sweep()
645 GetHeap()->RevokeAllThreadLocalBuffers(); in RevokeAllThreadLocalBuffers()
/art/runtime/gc/
Dscoped_gc_critical_section.cc31 Runtime::Current()->GetHeap()->StartGC(self, cause, collector_type); in ScopedGCCriticalSection()
36 Runtime::Current()->GetHeap()->FinishGC(self_, collector::kGcTypeNone); in ~ScopedGCCriticalSection()
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/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/
Dread_barrier-inl.h75 gc::Heap* heap = Runtime::Current()->GetHeap(); in Barrier()
123 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot()
164 Runtime::Current()->GetHeap()->GetReadBarrierTable()->IsSet(ref)) { in BarrierForRoot()
183 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsDuringStartup()
206 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant()
217 Runtime::Current()->GetHeap()->ConcurrentCopyingCollector()-> in AssertToSpaceInvariant()
223 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/native/
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()
216 Runtime::Current()->GetHeap()->RegisterNativeAllocation(env, static_cast<size_t>(bytes)); in VMRuntime_registerNativeAllocation()
229 Runtime::Current()->GetHeap()->RegisterNativeFree(env, static_cast<size_t>(bytes)); in VMRuntime_registerNativeFree()
238 Runtime::Current()->GetHeap()->Trim(ThreadForEnv(env)); in VMRuntime_trimHeap()
[all …]
Djava_lang_StringFactory.cc46 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromBytes()
60 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromChars()
75 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/mirror/
Dobject_array-inl.h55 Runtime::Current()->GetHeap()->GetCurrentAllocator()); in Alloc()
157 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); in AssignableMemmove()
190 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); in AssignableMemcpy()
235 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); in AssignableCheckingMemcpy()
257 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyOf()
Dobject.cc90 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyObject()
130 gc::Heap* heap = Runtime::Current()->GetHeap(); in Clone()
207 !runtime->GetHeap()->IsObjectValidationEnabled() || !c->IsResolved()) { in CheckFieldAssignmentImpl()
Darray.cc53 Runtime::Current()->GetHeap()->GetCurrentAllocator()))); in RecursiveCreateMultiArray()
134 auto* heap = Runtime::Current()->GetHeap(); in CopyOf()
Dstring.cc85 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromStrings()
99 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromUtf16()
123 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromModifiedUtf8()
/art/runtime/gc/space/
Drosalloc_space_static_test.cc26 Runtime::Current()->GetHeap()->IsLowMemoryMode(), false); in CreateRosAllocSpace()
Drosalloc_space_random_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/runtime/gc/accounting/
Dmod_union_table_test.cc88 Runtime::Current()->GetHeap()->GetCardTable()->MarkCard(klass); in GetObjectArrayClass()
155 return new ModUnionTableCardCache(name.str(), Runtime::Current()->GetHeap(), space); in Create()
158 return new ModUnionTableRefCacheToSpace(name.str(), Runtime::Current()->GetHeap(), space, in Create()
180 gc::Heap* const heap = runtime->GetHeap(); in RunTest()
Dremembered_set.h67 Heap* GetHeap() const { in GetHeap() function

12345