/art/runtime/gc/collector/ |
D | garbage_collector.cc | 55 : 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()
|
D | mark_compact.cc | 133 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 …]
|
D | semi_space.cc | 134 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 …]
|
D | mark_sweep.cc | 113 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 …]
|
D | garbage_collector.h | 135 return heap_; in GetHeap() 188 Heap* const heap_; variable
|
D | mark_sweep-inl.h | 35 DCHECK(IsMarked(obj)) << "Scanning unmarked object " << obj << "\n" << heap_->DumpSpaces(); in ScanObjectVisit()
|
/art/runtime/gc/accounting/ |
D | remembered_set.h | 50 : name_(name), heap_(heap), space_(space) {} in RememberedSet() 68 return heap_; in GetHeap() 77 Heap* const heap_; variable
|
D | mod_union_table.cc | 221 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()
|
D | mod_union_table.h | 58 heap_(heap), in ModUnionTable() 85 return heap_; in GetHeap() 93 Heap* const heap_; variable
|
D | heap_bitmap.h | 60 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap() 63 const Heap* const heap_;
|
D | remembered_set.cc | 126 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/ |
D | heap.h | 929 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 …]
|
D | heap.cc | 2300 : 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 …]
|
D | heap-inl.h | 277 : heap_(heap), allocated_obj_ptr_(allocated_obj_ptr) { in AllocationTimer() 289 …heap_->total_allocation_time_.FetchAndAddSequentiallyConsistent(allocation_end_time - allocation_s… in ~AllocationTimer()
|
/art/patchoat/ |
D | patchoat.h | 66 : 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
|
D | patchoat.cc | 459 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/ |
D | runtime.cc | 110 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()
|
D | runtime.h | 230 return heap_; in GetHeap() 555 gc::Heap* heap_; variable
|