• Home
  • Raw
  • Download

Lines Matching refs:collector_

655   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
903 : collector_(collector), index_(idx) {} in ConcurrentCompactionGcTask()
906 if (collector_->CanCompactMovingSpaceWithMinorFault()) { in Run()
907 collector_->ConcurrentCompaction<MarkCompact::kMinorFaultMode>(/*buf=*/nullptr); in Run()
912 uint8_t* buf = collector_->compaction_buffers_map_.Begin() + index_ * kPageSize; in Run()
913 collector_->ConcurrentCompaction<MarkCompact::kCopyMode>(buf); in Run()
918 MarkCompact* const collector_; member in art::gc::collector::MarkCompact::ConcurrentCompactionGcTask
1205 explicit VerifyRootMarkedVisitor(MarkCompact* collector) : collector_(collector) { } in VerifyRootMarkedVisitor()
1209 CHECK(collector_->IsMarked(root) != nullptr) << info.ToString(); in VisitRoot()
1213 MarkCompact* const collector_; member in art::gc::collector::MarkCompact::VerifyRootMarkedVisitor
1380 : collector_(collector), obj_(obj), begin_(begin), end_(end) { in RefsUpdateVisitor()
1394 collector_->UpdateRef(obj_, offset); in operator ()()
1408 collector_->UpdateRef(obj_, offset); in operator ()()
1422 collector_->UpdateRoot(root); in VisitRoot()
1426 MarkCompact* const collector_; member in art::gc::collector::MarkCompact::RefsUpdateVisitor
2487 : collector_(collector), visit_native_roots_(visit_native_roots) {} in ImmuneSpaceUpdateObjVisitor()
2490 RefsUpdateVisitor</*kCheckBegin*/false, /*kCheckEnd*/false> visitor(collector_, in operator ()()
2508 MarkCompact* const collector_; member in art::gc::collector::MarkCompact::ImmuneSpaceUpdateObjVisitor
2514 explicit ClassLoaderRootsUpdater(MarkCompact* collector) : collector_(collector) {} in ClassLoaderRootsUpdater()
2533 collector_->VisitRoots(&root, 1, RootInfo(RootType::kRootVMInternal)); in VisitRoot()
2537 MarkCompact* collector_; member in art::gc::collector::MarkCompact::ClassLoaderRootsUpdater
2542 explicit LinearAllocPageUpdater(MarkCompact* collector) : collector_(collector) {} in LinearAllocPageUpdater()
2588 if (collector_->live_words_bitmap_->HasAddress(old_ref)) { in VisitRoot()
2590 if (reinterpret_cast<uint8_t*>(old_ref) >= collector_->black_allocations_begin_) { in VisitRoot()
2591 new_ref = collector_->PostCompactBlackObjAddr(old_ref); in VisitRoot()
2592 } else if (collector_->live_words_bitmap_->Test(old_ref)) { in VisitRoot()
2593 DCHECK(collector_->moving_space_bitmap_->Test(old_ref)) << old_ref; in VisitRoot()
2594 new_ref = collector_->PostCompactOldObjAddr(old_ref); in VisitRoot()
2625 if (collector_->pointer_size_ == PointerSize::k64) { in VisitObject()
2629 DCHECK_EQ(collector_->pointer_size_, PointerSize::k32); in VisitObject()
2656 MarkCompact* const collector_; member in art::gc::collector::MarkCompact::LinearAllocPageUpdater
3016 explicit ScopedInProgressCount(MarkCompact* collector) : collector_(collector) { in SigbusHandler()
3019 collector_->sigbus_in_progress_count_.load(std::memory_order_relaxed); in SigbusHandler()
3021 if (collector_->sigbus_in_progress_count_.compare_exchange_strong( in SigbusHandler()
3037 collector_->sigbus_in_progress_count_.fetch_sub(1, std::memory_order_release); in SigbusHandler()
3042 MarkCompact* const collector_; in SigbusHandler() member in art::gc::collector::MarkCompact::SigbusHandler::ScopedInProgressCount
3115 explicit ScopedInProgressCount(MarkCompact* collector) : collector_(collector) { in ConcurrentlyProcessMovingPage()
3116 collector_->compaction_in_progress_count_.fetch_add(1, std::memory_order_relaxed); in ConcurrentlyProcessMovingPage()
3120 collector_->compaction_in_progress_count_.fetch_sub(1, std::memory_order_relaxed); in ConcurrentlyProcessMovingPage()
3124 MarkCompact* collector_; in ConcurrentlyProcessMovingPage() member in art::gc::collector::MarkCompact::ConcurrentlyProcessMovingPage::ScopedInProgressCount