Lines Matching refs:collector_
618 : 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()
961 collector_->PushOntoMarkStack(self_, ref); in VisitRoots()
974 if (!collector_->TestAndSetMarkBitForRef<kAtomicTestAndSet>(ref)) { in VisitRoots()
975 collector_->PushOntoMarkStack(self_, ref); in VisitRoots()
982 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::CaptureRootsForMarkingVisitor
1083 : collector_(collector), in ComputeLiveBytesAndMarkRefFieldsVisitor()
1091 DCHECK_EQ(collector_->RegionSpace()->RegionIdxForRef(obj), obj_region_idx_); in operator ()()
1092 DCHECK(kHandleInterRegionRefs || collector_->immune_spaces_.ContainsObject(obj)); in operator ()()
1116 collector_->region_space_->Unprotect(); in operator ()()
1118 collector_->heap_->GetVerification()->LogHeapCorruption(obj, offset, ref, /* fatal */ true); in operator ()()
1164 if (!collector_->TestAndSetMarkBitForRef(ref)) { in CheckReference()
1165 collector_->PushOntoLocalMarkStack(ref); in CheckReference()
1168 size_t ref_region_idx = collector_->RegionSpace()->RegionIdxForRef(ref); in CheckReference()
1178 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::ComputeLiveBytesAndMarkRefFieldsVisitor
1311 explicit ImmuneSpaceCaptureRefsVisitor(ConcurrentCopying* cc) : collector_(cc) {} in ImmuneSpaceCaptureRefsVisitor()
1315 visitor(collector_, /*obj_region_idx*/ static_cast<size_t>(-1)); in operator ()()
1325 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::ImmuneSpaceCaptureRefsVisitor
1927 : collector_(collector) {} in VerifyNoFromSpaceRefsVisitor()
1937 collector_->AssertToSpaceInvariant(holder, offset, ref); in operator ()()
1951 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::VerifyNoFromSpaceRefsVisitor
1957 : collector_(collector) {} in VerifyNoFromSpaceRefsFieldVisitor()
1965 VerifyNoFromSpaceRefsVisitor visitor(collector_); in operator ()()
1984 VerifyNoFromSpaceRefsVisitor visitor(collector_); in VisitRoot()
1989 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::VerifyNoFromSpaceRefsFieldVisitor
2052 : collector_(collector) {} in AssertToSpaceInvariantFieldVisitor()
2060 collector_->AssertToSpaceInvariant(obj.Ptr(), offset, ref); in operator ()()
2077 collector_->AssertToSpaceInvariant(/* obj */ nullptr, MemberOffset(0), ref); in VisitRoot()
2081 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::AssertToSpaceInvariantFieldVisitor
3173 : collector_(collector), thread_(thread) { in RefFieldsVisitor()
3175 DCHECK_IMPLIES(kNoUnEvac, collector_->use_generational_cc_); in RefFieldsVisitor()
3181 collector_->Process<kNoUnEvac>(obj, offset); in operator ()()
3187 collector_->DelayReferenceReferent(klass, ref); in operator ()()
3201 collector_->MarkRoot</*kGrayImmuneObject=*/false>(thread_, root); in VisitRoot()
3205 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::RefFieldsVisitor
3328 : collector_(collector), enabled_(false) { in ScopedGcGraysImmuneObjects()
3330 collector_->thread_running_gc_ == Thread::Current() && in ScopedGcGraysImmuneObjects()
3331 !collector_->gc_grays_immune_objects_) { in ScopedGcGraysImmuneObjects()
3332 collector_->gc_grays_immune_objects_ = true; in ScopedGcGraysImmuneObjects()
3339 collector_->thread_running_gc_ == Thread::Current() && in ~ScopedGcGraysImmuneObjects()
3341 DCHECK(collector_->gc_grays_immune_objects_); in ~ScopedGcGraysImmuneObjects()
3342 collector_->gc_grays_immune_objects_ = false; in ~ScopedGcGraysImmuneObjects()
3347 ConcurrentCopying* const collector_; member in art::gc::collector::ConcurrentCopying::ScopedGcGraysImmuneObjects