Home
last modified time | relevance | path

Searched refs:heap_ (Results 1 – 18 of 18) sorted by relevance

/art/runtime/gc/collector/
Dgarbage_collector.cc55 : heap_(heap), in GarbageCollector()
117 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); in SwapBitmaps()
118 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in SwapBitmaps()
128 heap_->GetLiveBitmap()->ReplaceLargeObjectBitmap(live_set, mark_set); in SwapBitmaps()
129 heap_->GetMarkBitmap()->ReplaceLargeObjectBitmap(mark_set, live_set); in SwapBitmaps()
159 return heap_->GetCurrentGcIteration(); in GetCurrentIteration()
162 return heap_->GetCurrentGcIteration(); in GetCurrentIteration()
167 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree()
171 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
Dmark_compact.cc133 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
139 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
145 heap_->GetReferenceProcessor()->ProcessReferences( in ProcessReferences()
200 heap_->ProcessCards(GetTimings(), false); in MarkingPhase()
204 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase()
209 heap_->RevokeAllThreadLocalAllocationStacks(self); in MarkingPhase()
212 heap_->SwapStacks(self); in MarkingPhase()
236 for (auto& space : heap_->GetContinuousSpaces()) { in UpdateAndMarkModUnion()
239 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion()
253 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects()
[all …]
Dsemi_space.cc134 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
148 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
218 heap_->ProcessCards(GetTimings(), kUseRememberedSet && generational_); in MarkingPhase()
222 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase()
227 heap_->RevokeAllThreadLocalAllocationStacks(self_); in MarkingPhase()
229 heap_->SwapStacks(self_); in MarkingPhase()
257 heap_->PreSweepingGcVerification(this); in MarkingPhase()
259 heap_->SwapSemiSpaces(); in MarkingPhase()
315 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects()
316 heap_->MarkAllocStackAsLive(live_stack); in MarkReachableObjects()
[all …]
Dmark_sweep.cc113 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
132 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
193 heap_->SwapStacks(self); in PausePhase()
194 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); in PausePhase()
199 heap_->PreSweepingGcVerification(this); in PausePhase()
217 heap_->ProcessCards(GetTimings(), false); in PreCleanCards()
245 heap_->RevokeAllThreadLocalAllocationStacks(self); in RevokeAllThreadLocalAllocationStacks()
255 heap_->ProcessCards(GetTimings(), false); in MarkingPhase()
264 for (const auto& space : heap_->GetContinuousSpaces()) { in UpdateAndMarkModUnion()
269 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion()
[all …]
Dgarbage_collector.h135 return heap_; in GetHeap()
188 Heap* const heap_; variable
Dmark_sweep-inl.h35 DCHECK(IsMarked(obj)) << "Scanning unmarked object " << obj << "\n" << heap_->DumpSpaces(); in ScanObjectVisit()
/art/runtime/gc/accounting/
Dremembered_set.h50 : name_(name), heap_(heap), space_(space) {} in RememberedSet()
68 return heap_; in GetHeap()
77 Heap* const heap_; variable
Dmod_union_table.cc221 CHECK(heap_->IsLiveObjectLocked(ref->AsMirrorPtr())); in Verify()
226 CardTable* card_table = heap_->GetCardTable(); in Verify()
243 CardTable* card_table = heap_->GetCardTable(); in Dump()
265 CardTable* card_table = heap_->GetCardTable(); in UpdateAndMarkReferences()
275 auto* space = heap_->FindContinuousSpaceFromObject(reinterpret_cast<Object*>(start), false); in UpdateAndMarkReferences()
315 CardTable* card_table = heap_->GetCardTable(); in UpdateAndMarkReferences()
326 CardTable* card_table = heap_->GetCardTable(); in Dump()
Dmod_union_table.h58 heap_(heap), in ModUnionTable()
85 return heap_; in GetHeap()
93 Heap* const heap_; variable
Dheap_bitmap.h60 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap()
63 const Heap* const heap_;
Dremembered_set.cc126 CardTable* card_table = heap_->GetCardTable(); in UpdateAndMarkReferences()
155 CardTable* card_table = heap_->GetCardTable(); in Dump()
166 CardTable* card_table = heap_->GetCardTable(); in AssertAllDirtyCardsAreWithinSpace()
/art/runtime/gc/
Dheap.h929 Heap* const heap_;
936 : heap_(heap), in ScopedDisableRosAllocVerification()
937 orig_verify_pre_gc_(heap_->verify_pre_gc_rosalloc_), in ScopedDisableRosAllocVerification()
938 orig_verify_pre_sweeping_(heap_->verify_pre_sweeping_rosalloc_), in ScopedDisableRosAllocVerification()
939 orig_verify_post_gc_(heap_->verify_post_gc_rosalloc_) { in ScopedDisableRosAllocVerification()
940 heap_->verify_pre_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification()
941 heap_->verify_pre_sweeping_rosalloc_ = false; in ScopedDisableRosAllocVerification()
942 heap_->verify_post_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification()
945 heap_->verify_pre_gc_rosalloc_ = orig_verify_pre_gc_; in ~ScopedDisableRosAllocVerification()
946 heap_->verify_pre_sweeping_rosalloc_ = orig_verify_pre_sweeping_; in ~ScopedDisableRosAllocVerification()
[all …]
Dheap.cc2300 : heap_(heap), fail_count_(fail_count), verify_referent_(verify_referent) {} in VerifyReferenceVisitor()
2319 return heap_->IsLiveObjectLocked(obj, true, false, true); in IsLive()
2346 accounting::CardTable* card_table = heap_->GetCardTable(); in VerifyReference()
2347 accounting::ObjectStack* alloc_stack = heap_->allocation_stack_.get(); in VerifyReference()
2348 accounting::ObjectStack* live_stack = heap_->live_stack_.get(); in VerifyReference()
2352 if (heap_->IsValidObjectAddress(obj->GetClass())) { in VerifyReference()
2359 space::ContinuousSpace* ref_space = heap_->FindContinuousSpaceFromObject(ref, true); in VerifyReference()
2371 if (ref->GetClass() != nullptr && heap_->IsValidObjectAddress(ref->GetClass()) && in VerifyReference()
2386 heap_->GetLiveBitmap()->GetContinuousSpaceBitmap(obj); in VerifyReference()
2428 Heap* const heap_; member in art::gc::VerifyReferenceVisitor
[all …]
Dheap-inl.h277 : heap_(heap), allocated_obj_ptr_(allocated_obj_ptr) { in AllocationTimer()
289heap_->total_allocation_time_.FetchAndAddSequentiallyConsistent(allocation_end_time - allocation_s… in ~AllocationTimer()
/art/patchoat/
Dpatchoat.h66 : image_(image), bitmap_(bitmap), heap_(heap), in PatchOat()
71 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap), in PatchOat()
148 const MemMap* heap_; variable
Dpatchoat.cc459 uintptr_t begin = reinterpret_cast<uintptr_t>(heap_->Begin()); in InHeap()
460 uintptr_t end = reinterpret_cast<uintptr_t>(heap_->End()); in InHeap()
485 DCHECK_GT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->Begin())); in RelocatedCopyOf()
486 DCHECK_LT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->End())); in RelocatedCopyOf()
488 reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(heap_->Begin()); in RelocatedCopyOf()
/art/runtime/
Druntime.cc110 heap_(nullptr), in Runtime()
162 heap_->DumpGcPerformanceInfo(LOG(INFO)); in ~Runtime()
182 heap_->WaitForGcToComplete(gc::kGcCauseBackground, self); in ~Runtime()
183 heap_->DeleteThreadPool(); in ~Runtime()
198 delete heap_; in ~Runtime()
316 heap_->PreZygoteFork(); in PreZygoteFork()
420 gc::space::ImageSpace* image_space = heap_->GetImageSpace(); in Start()
547 heap_->CreateThreadPool(); in DidForkFromZygote()
722 heap_ = new gc::Heap(options->heap_initial_size_, in Init()
Druntime.h230 return heap_; in GetHeap()
555 gc::Heap* heap_; variable