/art/runtime/gc/collector/ |
D | garbage_collector.cc | 64 : heap_(heap), in GarbageCollector() 133 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); in SwapBitmaps() 134 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in SwapBitmaps() 144 heap_->GetLiveBitmap()->ReplaceLargeObjectBitmap(live_set, mark_set); in SwapBitmaps() 145 heap_->GetMarkBitmap()->ReplaceLargeObjectBitmap(mark_set, live_set); in SwapBitmaps() 192 return heap_->GetCurrentGcIteration(); in GetCurrentIteration() 195 return heap_->GetCurrentGcIteration(); in GetCurrentIteration() 200 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree() 204 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
|
D | mark_compact.cc | 112 mark_stack_ = heap_->GetMarkStack(); in InitializePhase() 118 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase() 124 heap_->GetReferenceProcessor()->ProcessReferences( in ProcessReferences() 174 heap_->ProcessCards(GetTimings(), false, false, true); in MarkingPhase() 178 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase() 183 heap_->RevokeAllThreadLocalAllocationStacks(self); in MarkingPhase() 186 heap_->SwapStacks(); in MarkingPhase() 211 for (auto& space : heap_->GetContinuousSpaces()) { in UpdateAndMarkModUnion() 214 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion() 228 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 | mark_sweep.cc | 115 mark_stack_ = heap_->GetMarkStack(); in InitializePhase() 136 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase() 199 heap_->SwapStacks(); in PausePhase() 200 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); in PausePhase() 205 heap_->PreSweepingGcVerification(this); in PausePhase() 223 heap_->ProcessCards(GetTimings(), false, true, false); in PreCleanCards() 251 heap_->RevokeAllThreadLocalAllocationStacks(self); in RevokeAllThreadLocalAllocationStacks() 262 heap_->ProcessCards(GetTimings(), false, true, GetGcType() != kGcTypeSticky); in MarkingPhase() 297 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion() 349 if (space != heap_->GetNonMovingSpace()) { in FindDefaultSpaceBitmap() [all …]
|
D | concurrent_copying.cc | 99 rb_table_(heap_->GetReadBarrierTable()), in ConcurrentCopying() 199 for (const auto& space : heap_->GetContinuousSpaces()) { in BindBitmaps() 516 if (!collector->heap_->GetCardTable()->IsDirty(obj)) { in VerifyNoMissingCardMarkCallback() 529 heap_->GetLiveBitmap()->Walk(&VerifyNoMissingCardMarkCallback, this); in VerifyNoMissingCardMarks() 543 ThreadFlipVisitor thread_flip_visitor(this, heap_->use_tlab_); in FlipThreadRoots() 631 heap_->SwapStacks(); in SwapStacks() 636 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); in RecordLiveStackFreezeSize() 698 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in MarkingPhase() 905 heap_->rb_table_->ClearAll(); in DisableMarking() 906 DCHECK(heap_->rb_table_->IsAllCleared()); in DisableMarking() [all …]
|
D | mark_sweep-inl.h | 36 DCHECK(IsMarked(obj)) << "Scanning unmarked object " << obj << "\n" << heap_->DumpSpaces(); in ScanObjectVisit()
|
D | concurrent_copying-inl.h | 105 DCHECK(heap_->collector_type_ == kCollectorTypeCC); in Mark() 135 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)) in Mark()
|
D | garbage_collector.h | 149 return heap_; in GetHeap() 222 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() 97 return heap_; in GetHeap() 106 Heap* const heap_; variable
|
D | mod_union_table.cc | 344 CHECK(heap_->IsLiveObjectLocked(ref->AsMirrorPtr())); in Verify() 349 CardTable* card_table = heap_->GetCardTable(); in Verify() 366 CardTable* card_table = heap_->GetCardTable(); in Dump() 387 CardTable* const card_table = heap_->GetCardTable(); in VisitObjects() 412 CardTable* const card_table = heap_->GetCardTable(); in UpdateAndMarkReferences() 428 heap_->FindContinuousSpaceFromObject(reinterpret_cast<mirror::Object*>(start), false); in UpdateAndMarkReferences() 544 heap_->GetBootImageSpaces().empty() ? nullptr : heap_->GetBootImageSpaces()[0]; in UpdateAndMarkReferences() 597 cleared_cards_.insert(heap_->GetCardTable()->CardFromAddr(reinterpret_cast<void*>(addr))); in SetCards() 602 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 | 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() 61 gc::Heap* const heap_;
|
D | verification.cc | 43 space::Space* const space = heap_->FindSpaceFromAddress(addr); in DumpObjectInfo() 47 accounting::CardTable* card_table = heap_->GetCardTable(); in DumpObjectInfo() 112 space::Space* const space = heap_->FindSpaceFromAddress(addr); in IsValidHeapObjectAddress()
|
D | heap.h | 1273 Heap* const heap_; 1280 : heap_(heap), in ScopedDisableRosAllocVerification() 1281 orig_verify_pre_gc_(heap_->verify_pre_gc_rosalloc_), in ScopedDisableRosAllocVerification() 1282 orig_verify_pre_sweeping_(heap_->verify_pre_sweeping_rosalloc_), in ScopedDisableRosAllocVerification() 1283 orig_verify_post_gc_(heap_->verify_post_gc_rosalloc_) { in ScopedDisableRosAllocVerification() 1284 heap_->verify_pre_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification() 1285 heap_->verify_pre_sweeping_rosalloc_ = false; in ScopedDisableRosAllocVerification() 1286 heap_->verify_post_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification() 1289 heap_->verify_pre_gc_rosalloc_ = orig_verify_pre_gc_; in ~ScopedDisableRosAllocVerification() 1290 heap_->verify_pre_sweeping_rosalloc_ = orig_verify_pre_sweeping_; in ~ScopedDisableRosAllocVerification() [all …]
|
D | heap.cc | 2887 : heap_(heap), fail_count_(fail_count), verify_referent_(verify_referent) {} in VerifyReferenceVisitor() 2908 return heap_->IsLiveObjectLocked(obj, true, false, true); in IsLive() 2948 accounting::CardTable* card_table = heap_->GetCardTable(); in VerifyReference() 2949 accounting::ObjectStack* alloc_stack = heap_->allocation_stack_.get(); in VerifyReference() 2950 accounting::ObjectStack* live_stack = heap_->live_stack_.get(); in VerifyReference() 2954 if (heap_->IsValidObjectAddress(obj->GetClass())) { in VerifyReference() 2961 space::ContinuousSpace* ref_space = heap_->FindContinuousSpaceFromObject(ref, true); in VerifyReference() 2973 if (ref->GetClass() != nullptr && heap_->IsValidObjectAddress(ref->GetClass()) && in VerifyReference() 2988 heap_->GetLiveBitmap()->GetContinuousSpaceBitmap(obj); in VerifyReference() 3029 Heap* const heap_; member in art::gc::VerifyReferenceVisitor [all …]
|
/art/patchoat/ |
D | patchoat.h | 61 : image_(image), bitmap_(bitmap), heap_(heap), in PatchOat() 112 DCHECK_GT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->Begin())); in RelocatedCopyOf() 113 DCHECK_LT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->End())); in RelocatedCopyOf() 115 reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(heap_->Begin()); in RelocatedCopyOf() 181 const MemMap* const heap_; variable
|
D | patchoat.cc | 389 image_header->VisitPackedArtFields(&visitor, heap_->Begin()); in PatchArtFields() 408 image_header->VisitPackedArtMethods(&visitor, heap_->Begin(), pointer_size); in PatchArtMethods()
|
/art/runtime/ |
D | runtime.cc | 211 heap_(nullptr), in Runtime() 289 heap_->DumpGcPerformanceInfo(LOG_STREAM(INFO)); in ~Runtime() 332 heap_->WaitForGcToComplete(gc::kGcCauseBackground, self); in ~Runtime() 333 heap_->DeleteThreadPool(); in ~Runtime() 376 delete heap_; in ~Runtime() 528 heap_->PreZygoteFork(); in PreZygoteFork() 808 heap_->CreateThreadPool(); in InitNonZygoteOrPostFork() 811 heap_->ResetGcPerformanceInfo(); in InitNonZygoteOrPostFork() 1000 CHECK(!heap_->IsMovableObject(sentinel)); in SetSentinel() 1090 heap_ = new gc::Heap(runtime_options.GetOrDefault(Opt::MemoryInitialSize), in Init() [all …]
|
D | runtime.h | 262 return heap_; in GetHeap() 778 gc::Heap* heap_; variable
|
/art/runtime/openjdkjvmti/ |
D | ti_redefine.cc | 1254 : heap_(heap), self_(self) { in ScopedDisableConcurrentAndMovingGc() 1255 if (heap_->IsGcConcurrentAndMoving()) { in ScopedDisableConcurrentAndMovingGc() 1256 heap_->IncrementDisableMovingGC(self_); in ScopedDisableConcurrentAndMovingGc() 1261 if (heap_->IsGcConcurrentAndMoving()) { in ~ScopedDisableConcurrentAndMovingGc() 1262 heap_->DecrementDisableMovingGC(self_); in ~ScopedDisableConcurrentAndMovingGc() 1266 art::gc::Heap* heap_; member in openjdkjvmti::ScopedDisableConcurrentAndMovingGc
|