Home
last modified time | relevance | path

Searched refs:collector_ (Results 1 – 10 of 10) 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.h107 collector::GarbageCollector* collector_; variable
/art/runtime/gc/accounting/
Dremembered_set.cc67 : collector_(collector), target_space_(target_space), in RememberedSetReferenceVisitor()
78 collector_->MarkHeapReference(ref_ptr, /*do_atomic_update=*/ false); in operator ()()
87 collector_->DelayReferenceReferent(klass, ref); in operator ()()
102 root->Assign(collector_->MarkObject(root->AsMirrorPtr())); in VisitRoot()
108 collector::GarbageCollector* const collector_; member in art::gc::accounting::RememberedSetReferenceVisitor
118 : collector_(collector), target_space_(target_space), in RememberedSetObjectVisitor()
124 collector_); in operator ()()
129 collector::GarbageCollector* const collector_; member in art::gc::accounting::RememberedSetObjectVisitor
/art/runtime/gc/collector/
Dconcurrent_copying.cc618 : collector_(collector) {} in VerifyGrayImmuneObjectsVisitor()
650 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::VerifyGrayImmuneObjectsVisitor
657 if (!collector_->immune_spaces_.ContainsObject(ref.Ptr())) { in CheckReference()
668 CHECK(collector_->immune_spaces_.ContainsObject( in CheckReference()
921 : collector_(cc) {} in ImmuneSpaceScanObjVisitor()
927 collector_->ScanImmuneObject(obj); in operator ()()
935 collector_->ScanImmuneObject(obj); in operator ()()
944 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::ImmuneSpaceScanObjVisitor
951 : collector_(cc), self_(self) {} in CaptureRootsForMarkingVisitor()
960 if (ref != nullptr && !collector_->TestAndSetMarkBitForRef<kAtomicTestAndSet>(ref)) { in VisitRoots()
[all …]
Dmark_compact.cc655 explicit ThreadFlipVisitor(MarkCompact* collector) : collector_(collector) {} in ThreadFlipVisitor()
662 thread->VisitRoots(collector_, kVisitRootFlagAllRoots); in Run()
665 CHECK(collector_->compacting_); in Run()
666 thread->SweepInterpreterCache(collector_); in Run()
667 thread->AdjustTlab(collector_->black_objs_slide_diff_); in Run()
668 collector_->GetBarrier().Pass(self); in Run()
672 MarkCompact* const collector_; member in art::gc::collector::MarkCompact::ThreadFlipVisitor
677 explicit FlipCallback(MarkCompact* collector) : collector_(collector) {} in FlipCallback()
680 collector_->CompactionPause(); in Run()
684 MarkCompact* const collector_; member in art::gc::collector::MarkCompact::FlipCallback
[all …]
Dsemi_space.cc546 explicit MarkObjectVisitor(SemiSpace* collector) : collector_(collector) {} in MarkObjectVisitor()
551 collector_->MarkObject(obj->GetFieldObjectReferenceAddr<kVerifyNone>(offset)); in operator ()()
556 collector_->DelayReferenceReferent(klass, ref); in operator ()()
575 collector_->MarkObjectIfNotInToSpace(root); in VisitRoot()
579 SemiSpace* const collector_; member in art::gc::collector::SemiSpace::MarkObjectVisitor
Dgarbage_collector.h59 GarbageCollector* const collector_; variable
Dgarbage_collector.cc287 : start_time_(NanoTime()), collector_(collector), with_reporting_(with_reporting) { in ScopedPause()
299 collector_->RegisterPause(NanoTime() - start_time_); in ~ScopedPause()
Dmark_sweep.cc578 explicit VerifyRootMarkedVisitor(MarkSweep* collector) : collector_(collector) { } in VerifyRootMarkedVisitor()
582 CHECK(collector_->IsMarked(root) != nullptr) << info.ToString(); in VisitRoot()
586 MarkSweep* const collector_; member in art::gc::collector::MarkSweep::VerifyRootMarkedVisitor
658 explicit DelayReferenceReferentVisitor(MarkSweep* collector) : collector_(collector) {} in DelayReferenceReferentVisitor()
663 collector_->DelayReferenceReferent(klass, ref); in operator ()()
667 MarkSweep* const collector_; member in art::gc::collector::MarkSweep::DelayReferenceReferentVisitor
/art/compiler/optimizing/
Dload_store_elimination.cc3082 explicit IdxToHeapLoc(const HeapLocationCollector* hlc) : collector_(hlc) {} in IdxToHeapLoc()
3084 return collector_->GetHeapLocation(idx); in operator ()()
3088 const HeapLocationCollector* collector_; member in art::PartialLoadStoreEliminationHelper::IdxToHeapLoc
3111 collector_(helper->lse_->heap_location_collector_), in HeapReferenceData()
3116 return MakeTransformRange(idxs, IdxToHeapLoc(&collector_)); in IterateLocations()
3516 const HeapLocationCollector& collector_; member in art::PartialLoadStoreEliminationHelper::HeapReferenceData