/art/runtime/gc/collector/ |
D | garbage_collector.cc | 65 : heap_(heap), in GarbageCollector() 134 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); in SwapBitmaps() 135 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in SwapBitmaps() 145 heap_->GetLiveBitmap()->ReplaceLargeObjectBitmap(live_set, mark_set); in SwapBitmaps() 146 heap_->GetMarkBitmap()->ReplaceLargeObjectBitmap(mark_set, live_set); in SwapBitmaps() 193 return heap_->GetCurrentGcIteration(); in GetCurrentIteration() 196 return heap_->GetCurrentGcIteration(); in GetCurrentIteration() 201 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree() 205 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
|
D | mark_compact.cc | 114 mark_stack_ = heap_->GetMarkStack(); in InitializePhase() 120 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase() 126 heap_->GetReferenceProcessor()->ProcessReferences( in ProcessReferences() 176 heap_->ProcessCards(GetTimings(), false, false, true); in MarkingPhase() 180 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase() 185 heap_->RevokeAllThreadLocalAllocationStacks(self); in MarkingPhase() 188 heap_->SwapStacks(); in MarkingPhase() 213 for (auto& space : heap_->GetContinuousSpaces()) { in UpdateAndMarkModUnion() 216 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion() 230 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects() [all …]
|
D | semi_space.cc | 147 mark_stack_ = heap_->GetMarkStack(); in InitializePhase() 161 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase() 230 heap_->ProcessCards(GetTimings(), kUseRememberedSet && generational_, false, true); in MarkingPhase() 234 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase() 239 heap_->RevokeAllThreadLocalAllocationStacks(self_); in MarkingPhase() 241 heap_->SwapStacks(); in MarkingPhase() 284 heap_->PreSweepingGcVerification(this); in MarkingPhase() 286 heap_->SwapSemiSpaces(); in MarkingPhase() 335 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects() 336 heap_->MarkAllocStackAsLive(live_stack); in MarkReachableObjects() [all …]
|
D | concurrent_copying.cc | 102 rb_table_(heap_->GetReadBarrierTable()), in ConcurrentCopying() 264 for (const auto& space : heap_->GetContinuousSpaces()) { in BindBitmaps() 593 if (heap_->GetCardTable()->GetCard(obj) == gc::accounting::CardTable::kCardClean) { in VerifyNoMissingCardMarks() 603 heap_->GetLiveBitmap()->Visit(visitor); in VerifyNoMissingCardMarks() 617 ThreadFlipVisitor thread_flip_visitor(this, heap_->use_tlab_); in FlipThreadRoots() 665 accounting::CardTable* const card_table = heap_->GetCardTable(); in GrayAllDirtyImmuneObjects() 672 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in GrayAllDirtyImmuneObjects() 705 accounting::CardTable* const card_table = heap_->GetCardTable(); in GrayAllNewlyDirtyImmuneObjects() 712 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in GrayAllNewlyDirtyImmuneObjects() 735 heap_->SwapStacks(); in SwapStacks() [all …]
|
D | mark_sweep.cc | 116 mark_stack_ = heap_->GetMarkStack(); in InitializePhase() 137 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase() 200 heap_->SwapStacks(); in PausePhase() 201 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); in PausePhase() 206 heap_->PreSweepingGcVerification(this); in PausePhase() 224 heap_->ProcessCards(GetTimings(), false, true, false); in PreCleanCards() 252 heap_->RevokeAllThreadLocalAllocationStacks(self); in RevokeAllThreadLocalAllocationStacks() 282 heap_->ProcessCards(GetTimings(), in MarkingPhase() 320 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion() 372 if (space != heap_->GetNonMovingSpace()) { in FindDefaultSpaceBitmap() [all …]
|
D | concurrent_copying-inl.h | 108 DCHECK(heap_->collector_type_ == kCollectorTypeCC); in Mark() 141 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)) in Mark() 151 heap_->GetVerification()->LogHeapCorruption(holder, offset, from_ref, /* fatal */ true); in Mark()
|
D | garbage_collector.h | 72 return heap_; in GetHeap() 145 Heap* const heap_; variable
|
D | mark_sweep-inl.h | 36 DCHECK(IsMarked(obj)) << "Scanning unmarked object " << obj << "\n" << heap_->DumpSpaces(); in ScanObjectVisit()
|
/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 | 61 heap_(heap), in ModUnionTable() 105 return heap_; in GetHeap() 114 Heap* const heap_; variable
|
D | heap_bitmap.h | 66 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap() 69 const Heap* const heap_;
|
D | mod_union_table.cc | 346 CHECK(heap_->IsLiveObjectLocked(ref->AsMirrorPtr())); in Verify() 351 CardTable* card_table = heap_->GetCardTable(); in Verify() 368 CardTable* card_table = heap_->GetCardTable(); in Dump() 389 CardTable* const card_table = heap_->GetCardTable(); in VisitObjects() 414 CardTable* const card_table = heap_->GetCardTable(); in UpdateAndMarkReferences() 430 heap_->FindContinuousSpaceFromObject(reinterpret_cast<mirror::Object*>(start), false); in UpdateAndMarkReferences() 546 heap_->GetBootImageSpaces().empty() ? nullptr : heap_->GetBootImageSpaces()[0]; in UpdateAndMarkReferences() 599 cleared_cards_.insert(heap_->GetCardTable()->CardFromAddr(reinterpret_cast<void*>(addr))); in SetCards() 604 auto* card_ptr = heap_->GetCardTable()->CardFromAddr(reinterpret_cast<void*>(addr)); in ContainsCardFor()
|
D | remembered_set.cc | 136 CardTable* card_table = heap_->GetCardTable(); in UpdateAndMarkReferences() 165 CardTable* card_table = heap_->GetCardTable(); in Dump() 176 CardTable* card_table = heap_->GetCardTable(); in AssertAllDirtyCardsAreWithinSpace()
|
/art/runtime/gc/ |
D | verification.h | 40 explicit Verification(gc::Heap* heap) : heap_(heap) {} in Verification() 73 gc::Heap* const heap_;
|
D | verification.cc | 67 space::Space* const space = heap_->FindSpaceFromAddress(addr); in DumpObjectInfo() 71 accounting::CardTable* card_table = heap_->GetCardTable(); in DumpObjectInfo() 120 space::Space* const space = heap_->FindSpaceFromAddress(addr); in IsAddressInHeapSpace()
|
D | heap.h | 1272 Heap* const heap_; 1279 : heap_(heap), in ScopedDisableRosAllocVerification() 1280 orig_verify_pre_gc_(heap_->verify_pre_gc_rosalloc_), in ScopedDisableRosAllocVerification() 1281 orig_verify_pre_sweeping_(heap_->verify_pre_sweeping_rosalloc_), in ScopedDisableRosAllocVerification() 1282 orig_verify_post_gc_(heap_->verify_post_gc_rosalloc_) { in ScopedDisableRosAllocVerification() 1283 heap_->verify_pre_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification() 1284 heap_->verify_pre_sweeping_rosalloc_ = false; in ScopedDisableRosAllocVerification() 1285 heap_->verify_post_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification() 1288 heap_->verify_pre_gc_rosalloc_ = orig_verify_pre_gc_; in ~ScopedDisableRosAllocVerification() 1289 heap_->verify_pre_sweeping_rosalloc_ = orig_verify_pre_sweeping_; in ~ScopedDisableRosAllocVerification() [all …]
|
D | heap.cc | 2755 : heap_(heap), fail_count_(fail_count), verify_referent_(verify_referent) {} in VerifyReferenceVisitor() 2776 return heap_->IsLiveObjectLocked(obj, true, false, true); in IsLive() 2816 accounting::CardTable* card_table = heap_->GetCardTable(); in VerifyReference() 2817 accounting::ObjectStack* alloc_stack = heap_->allocation_stack_.get(); in VerifyReference() 2818 accounting::ObjectStack* live_stack = heap_->live_stack_.get(); in VerifyReference() 2822 if (heap_->IsValidObjectAddress(obj->GetClass())) { in VerifyReference() 2829 space::ContinuousSpace* ref_space = heap_->FindContinuousSpaceFromObject(ref, true); in VerifyReference() 2841 if (ref->GetClass() != nullptr && heap_->IsValidObjectAddress(ref->GetClass()) && in VerifyReference() 2856 heap_->GetLiveBitmap()->GetContinuousSpaceBitmap(obj); in VerifyReference() 2897 Heap* const heap_; member in art::gc::VerifyReferenceVisitor [all …]
|
/art/patchoat/ |
D | patchoat.h | 78 : image_(image), bitmap_(bitmap), heap_(heap), in PatchOat() 123 DCHECK_GT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->Begin())); in RelocatedCopyOf() 124 DCHECK_LT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->End())); in RelocatedCopyOf() 126 reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(heap_->Begin()); in RelocatedCopyOf() 192 const MemMap* const heap_; variable
|
D | patchoat.cc | 785 image_header->VisitPackedArtFields(&visitor, heap_->Begin()); in PatchArtFields() 804 image_header->VisitPackedArtMethods(&visitor, heap_->Begin(), pointer_size); in PatchArtMethods()
|
/art/runtime/ |
D | runtime.cc | 225 heap_(nullptr), in Runtime() 328 heap_->DumpGcPerformanceInfo(LOG_STREAM(INFO)); in ~Runtime() 371 heap_->WaitForGcToComplete(gc::kGcCauseBackground, self); in ~Runtime() 372 heap_->DeleteThreadPool(); in ~Runtime() 418 delete heap_; in ~Runtime() 594 heap_->PreZygoteFork(); in PreZygoteFork() 897 heap_->CreateThreadPool(); in InitNonZygoteOrPostFork() 900 heap_->ResetGcPerformanceInfo(); in InitNonZygoteOrPostFork() 1105 CHECK(!heap_->IsMovableObject(sentinel)); in SetSentinel() 1255 heap_ = new gc::Heap(runtime_options.GetOrDefault(Opt::MemoryInitialSize), in Init() [all …]
|
D | runtime.h | 264 return heap_; in GetHeap() 860 gc::Heap* heap_; variable
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 1314 : heap_(heap), self_(self) { in ScopedDisableConcurrentAndMovingGc() 1315 if (heap_->IsGcConcurrentAndMoving()) { in ScopedDisableConcurrentAndMovingGc() 1316 heap_->IncrementDisableMovingGC(self_); in ScopedDisableConcurrentAndMovingGc() 1321 if (heap_->IsGcConcurrentAndMoving()) { in ~ScopedDisableConcurrentAndMovingGc() 1322 heap_->DecrementDisableMovingGC(self_); in ~ScopedDisableConcurrentAndMovingGc() 1326 art::gc::Heap* heap_; member in openjdkjvmti::ScopedDisableConcurrentAndMovingGc
|