Home
last modified time | relevance | path

Searched refs:collector_ (Results 1 – 9 of 9) sorted by relevance

/art/runtime/gc/
Dreference_processor.cc45 : collector_(nullptr), in ReferenceProcessor()
120 DCHECK(collector_ != nullptr); in GetReferent()
152 referent.IsNull() ? nullptr : collector_->IsMarked(referent.Ptr()); in GetReferent()
174 uint32_t non_null_refs = soft_reference_queue_.ForwardSoftReferences(collector_); in ForwardSoftReferences()
180 collector_->ProcessMarkStack(); in ForwardSoftReferences()
183 collector_->ProcessMarkStack(); in ForwardSoftReferences()
194 collector_ = collector; in Setup()
223 if (kIsDebugBuild && collector_->IsTransactionActive()) { in ProcessReferences()
233 soft_reference_queue_.ClearWhiteReferences(&cleared_references_, collector_); in ProcessReferences()
234 weak_reference_queue_.ClearWhiteReferences(&cleared_references_, collector_); in ProcessReferences()
[all …]
Dreference_processor.h108 collector::GarbageCollector* collector_; variable
/art/runtime/gc/accounting/
Dremembered_set.cc67 : collector_(collector), target_space_(target_space), in RememberedSetReferenceVisitor()
77 collector_->MarkHeapReference(ref_ptr, /*do_atomic_update=*/ false); in operator ()()
86 collector_->DelayReferenceReferent(klass, ref); in operator ()()
101 root->Assign(collector_->MarkObject(root->AsMirrorPtr())); in VisitRoot()
107 collector::GarbageCollector* const collector_; member in art::gc::accounting::RememberedSetReferenceVisitor
117 : collector_(collector), target_space_(target_space), in RememberedSetObjectVisitor()
123 collector_); in operator ()()
128 collector::GarbageCollector* const collector_; member in art::gc::accounting::RememberedSetObjectVisitor
/art/runtime/gc/collector/
Dconcurrent_copying.cc608 : collector_(collector) {} in VerifyGrayImmuneObjectsVisitor()
640 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::VerifyGrayImmuneObjectsVisitor
647 if (!collector_->immune_spaces_.ContainsObject(ref.Ptr())) { in CheckReference()
658 CHECK(collector_->immune_spaces_.ContainsObject( in CheckReference()
906 : collector_(cc) {} in ImmuneSpaceScanObjVisitor()
912 collector_->ScanImmuneObject(obj); in operator ()()
922 collector_->ScanImmuneObject(obj); in operator ()()
931 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::ImmuneSpaceScanObjVisitor
938 : collector_(cc), self_(self) {} in CaptureRootsForMarkingVisitor()
947 if (ref != nullptr && !collector_->TestAndSetMarkBitForRef<kAtomicTestAndSet>(ref)) { in VisitRoots()
[all …]
Dmark_compact.cc800 explicit ThreadFlipVisitor(MarkCompact* collector) : collector_(collector) {} in ThreadFlipVisitor()
807 thread->VisitRoots(collector_, kVisitRootFlagAllRoots); in Run()
810 CHECK(collector_->compacting_); in Run()
811 thread->SweepInterpreterCache(collector_); in Run()
812 thread->AdjustTlab(collector_->black_objs_slide_diff_); in Run()
816 MarkCompact* const collector_; member in art::gc::collector::MarkCompact::ThreadFlipVisitor
821 explicit FlipCallback(MarkCompact* collector) : collector_(collector) {} in FlipCallback()
824 collector_->CompactionPause(); in Run()
828 MarkCompact* const collector_; member in art::gc::collector::MarkCompact::FlipCallback
1038 : collector_(collector), index_(idx) {} in ConcurrentCompactionGcTask()
[all …]
Dsemi_space.cc547 explicit MarkObjectVisitor(SemiSpace* collector) : collector_(collector) {} in MarkObjectVisitor()
552 collector_->MarkObject(obj->GetFieldObjectReferenceAddr<kVerifyNone>(offset)); in operator ()()
557 collector_->DelayReferenceReferent(klass, ref); in operator ()()
576 collector_->MarkObjectIfNotInToSpace(root); in VisitRoot()
580 SemiSpace* const collector_; member in art::gc::collector::SemiSpace::MarkObjectVisitor
Dgarbage_collector.h60 GarbageCollector* const collector_; variable
Dgarbage_collector.cc324 : start_time_(NanoTime()), collector_(collector), with_reporting_(with_reporting) { in ScopedPause()
336 collector_->RegisterPause(NanoTime() - start_time_); in ~ScopedPause()
Dmark_sweep.cc579 explicit VerifyRootMarkedVisitor(MarkSweep* collector) : collector_(collector) { } in VerifyRootMarkedVisitor()
583 CHECK(collector_->IsMarked(root) != nullptr) << info.ToString(); in VisitRoot()
587 MarkSweep* const collector_; member in art::gc::collector::MarkSweep::VerifyRootMarkedVisitor
659 explicit DelayReferenceReferentVisitor(MarkSweep* collector) : collector_(collector) {} in DelayReferenceReferentVisitor()
664 collector_->DelayReferenceReferent(klass, ref); in operator ()()
668 MarkSweep* const collector_; member in art::gc::collector::MarkSweep::DelayReferenceReferentVisitor