/art/runtime/gc/collector/ |
D | garbage_collector.cc | 60 : heap_(heap), in GarbageCollector() 124 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); in SwapBitmaps() 125 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in SwapBitmaps() 135 heap_->GetLiveBitmap()->ReplaceLargeObjectBitmap(live_set, mark_set); in SwapBitmaps() 136 heap_->GetMarkBitmap()->ReplaceLargeObjectBitmap(mark_set, live_set); in SwapBitmaps() 169 return heap_->GetCurrentGcIteration(); in GetCurrentIteration() 172 return heap_->GetCurrentGcIteration(); in GetCurrentIteration() 177 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree() 181 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
|
D | mark_compact.cc | 116 mark_stack_ = heap_->GetMarkStack(); in InitializePhase() 122 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase() 128 heap_->GetReferenceProcessor()->ProcessReferences( in ProcessReferences() 182 heap_->ProcessCards(GetTimings(), false, false, true); in MarkingPhase() 186 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase() 191 heap_->RevokeAllThreadLocalAllocationStacks(self); in MarkingPhase() 194 heap_->SwapStacks(); in MarkingPhase() 219 for (auto& space : heap_->GetContinuousSpaces()) { in UpdateAndMarkModUnion() 222 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion() 236 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects() [all …]
|
D | semi_space.cc | 146 mark_stack_ = heap_->GetMarkStack(); in InitializePhase() 160 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase() 229 heap_->ProcessCards(GetTimings(), kUseRememberedSet && generational_, false, true); in MarkingPhase() 233 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase() 238 heap_->RevokeAllThreadLocalAllocationStacks(self_); in MarkingPhase() 240 heap_->SwapStacks(); in MarkingPhase() 279 heap_->PreSweepingGcVerification(this); in MarkingPhase() 281 heap_->SwapSemiSpaces(); in MarkingPhase() 355 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects() 356 heap_->MarkAllocStackAsLive(live_stack); in MarkReachableObjects() [all …]
|
D | concurrent_copying.cc | 56 rb_table_(heap_->GetReadBarrierTable()), in ConcurrentCopying() 137 for (const auto& space : heap_->GetContinuousSpaces()) { in BindBitmaps() 271 ThreadFlipVisitor thread_flip_visitor(this, heap_->use_tlab_); in FlipThreadRoots() 273 heap_->ThreadFlipBegin(self); // Sync with JNI critical calls. in FlipThreadRoots() 276 heap_->ThreadFlipEnd(self); in FlipThreadRoots() 291 heap_->SwapStacks(); in SwapStacks() 296 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); in RecordLiveStackFreezeSize() 314 DCHECK(collector_->heap_->GetMarkBitmap()->Test(obj)) in operator ()() 366 for (space::ContinuousSpace* space : heap_->GetContinuousSpaces()) { in MarkingPhase() 544 heap_->rb_table_->ClearAll(); in DisableMarking() [all …]
|
D | mark_sweep.cc | 114 mark_stack_ = heap_->GetMarkStack(); in InitializePhase() 135 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase() 198 heap_->SwapStacks(); in PausePhase() 199 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); in PausePhase() 204 heap_->PreSweepingGcVerification(this); in PausePhase() 222 heap_->ProcessCards(GetTimings(), false, true, false); in PreCleanCards() 250 heap_->RevokeAllThreadLocalAllocationStacks(self); in RevokeAllThreadLocalAllocationStacks() 261 heap_->ProcessCards(GetTimings(), false, true, GetGcType() != kGcTypeSticky); in MarkingPhase() 296 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion() 348 if (space != heap_->GetNonMovingSpace()) { in FindDefaultSpaceBitmap() [all …]
|
D | concurrent_copying-inl.h | 35 DCHECK(heap_->collector_type_ == kCollectorTypeCC); in Mark() 66 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)) in Mark()
|
D | mark_sweep-inl.h | 35 DCHECK(IsMarked(obj)) << "Scanning unmarked object " << obj << "\n" << heap_->DumpSpaces(); in ScanObjectVisit()
|
D | garbage_collector.h | 147 return heap_; in GetHeap() 211 Heap* const heap_; variable
|
/art/runtime/gc/accounting/ |
D | remembered_set.h | 51 : name_(name), heap_(heap), space_(space) {} in RememberedSet() 68 return heap_; in GetHeap() 77 Heap* const heap_; variable
|
D | mod_union_table.h | 53 heap_(heap), in ModUnionTable() 88 return heap_; in GetHeap() 97 Heap* const heap_; variable
|
D | mod_union_table.cc | 325 CHECK(heap_->IsLiveObjectLocked(ref->AsMirrorPtr())); in Verify() 330 CardTable* card_table = heap_->GetCardTable(); in Verify() 347 CardTable* card_table = heap_->GetCardTable(); in Dump() 368 CardTable* const card_table = heap_->GetCardTable(); in UpdateAndMarkReferences() 384 heap_->FindContinuousSpaceFromObject(reinterpret_cast<mirror::Object*>(start), false); in UpdateAndMarkReferences() 496 heap_->GetBootImageSpaces().empty() ? nullptr : heap_->GetBootImageSpaces()[0]; in UpdateAndMarkReferences() 533 cleared_cards_.insert(heap_->GetCardTable()->CardFromAddr(reinterpret_cast<void*>(addr))); in SetCards() 538 auto* card_ptr = heap_->GetCardTable()->CardFromAddr(reinterpret_cast<void*>(addr)); in ContainsCardFor()
|
D | heap_bitmap.h | 67 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap() 70 const Heap* const heap_;
|
D | remembered_set.cc | 133 CardTable* card_table = heap_->GetCardTable(); in UpdateAndMarkReferences() 162 CardTable* card_table = heap_->GetCardTable(); in Dump() 173 CardTable* card_table = heap_->GetCardTable(); in AssertAllDirtyCardsAreWithinSpace()
|
/art/patchoat/ |
D | patchoat.h | 68 : oat_file_(oat_file), image_(nullptr), bitmap_(nullptr), heap_(nullptr), delta_(delta), in PatchOat() 72 : image_(image), bitmap_(bitmap), heap_(heap), in PatchOat() 77 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap), in PatchOat() 137 DCHECK_GT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->Begin())); in RelocatedCopyOf() 138 DCHECK_LT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->End())); in RelocatedCopyOf() 140 reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(heap_->Begin()); in RelocatedCopyOf() 217 const MemMap* const heap_; variable
|
D | patchoat.cc | 475 image_header->VisitPackedArtFields(&visitor, heap_->Begin()); in PatchArtFields() 494 image_header->VisitPackedArtMethods(&visitor, heap_->Begin(), pointer_size); in PatchArtMethods()
|
/art/runtime/gc/ |
D | heap.h | 1191 Heap* const heap_; 1198 : heap_(heap), in ScopedDisableRosAllocVerification() 1199 orig_verify_pre_gc_(heap_->verify_pre_gc_rosalloc_), in ScopedDisableRosAllocVerification() 1200 orig_verify_pre_sweeping_(heap_->verify_pre_sweeping_rosalloc_), in ScopedDisableRosAllocVerification() 1201 orig_verify_post_gc_(heap_->verify_post_gc_rosalloc_) { in ScopedDisableRosAllocVerification() 1202 heap_->verify_pre_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification() 1203 heap_->verify_pre_sweeping_rosalloc_ = false; in ScopedDisableRosAllocVerification() 1204 heap_->verify_post_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification() 1207 heap_->verify_pre_gc_rosalloc_ = orig_verify_pre_gc_; in ~ScopedDisableRosAllocVerification() 1208 heap_->verify_pre_sweeping_rosalloc_ = orig_verify_pre_sweeping_; in ~ScopedDisableRosAllocVerification() [all …]
|
D | heap.cc | 2857 : heap_(heap), fail_count_(fail_count), verify_referent_(verify_referent) {} in VerifyReferenceVisitor() 2876 return heap_->IsLiveObjectLocked(obj, true, false, true); in IsLive() 2916 accounting::CardTable* card_table = heap_->GetCardTable(); in VerifyReference() 2917 accounting::ObjectStack* alloc_stack = heap_->allocation_stack_.get(); in VerifyReference() 2918 accounting::ObjectStack* live_stack = heap_->live_stack_.get(); in VerifyReference() 2922 if (heap_->IsValidObjectAddress(obj->GetClass())) { in VerifyReference() 2929 space::ContinuousSpace* ref_space = heap_->FindContinuousSpaceFromObject(ref, true); in VerifyReference() 2941 if (ref->GetClass() != nullptr && heap_->IsValidObjectAddress(ref->GetClass()) && in VerifyReference() 2956 heap_->GetLiveBitmap()->GetContinuousSpaceBitmap(obj); in VerifyReference() 2997 Heap* const heap_; member in art::gc::VerifyReferenceVisitor [all …]
|
/art/runtime/ |
D | runtime.cc | 172 heap_(nullptr), in Runtime() 235 heap_->DumpGcPerformanceInfo(LOG(INFO)); in ~Runtime() 273 heap_->WaitForGcToComplete(gc::kGcCauseBackground, self); in ~Runtime() 274 heap_->DeleteThreadPool(); in ~Runtime() 308 delete heap_; in ~Runtime() 430 heap_->PreZygoteFork(); in PreZygoteFork() 722 heap_->CreateThreadPool(); in InitNonZygoteOrPostFork() 725 heap_->ResetGcPerformanceInfo(); in InitNonZygoteOrPostFork() 903 CHECK(!heap_->IsMovableObject(sentinel)); in SetSentinel() 986 heap_ = new gc::Heap(runtime_options.GetOrDefault(Opt::MemoryInitialSize), in Init() [all …]
|
D | runtime.h | 273 return heap_; in GetHeap() 714 gc::Heap* heap_; variable
|