Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/heap/
Dsweeper.cc32 Sweeper::PauseScope::PauseScope(Sweeper* sweeper) : sweeper_(sweeper) { in PauseScope()
33 if (!sweeper_->sweeping_in_progress()) return; in PauseScope()
35 if (sweeper_->job_handle_ && sweeper_->job_handle_->IsValid()) in PauseScope()
36 sweeper_->job_handle_->Cancel(); in PauseScope()
40 if (!sweeper_->sweeping_in_progress()) return; in ~PauseScope()
42 sweeper_->StartSweeperTasks(); in ~PauseScope()
47 : sweeper_(sweeper), in FilterSweepingPagesScope()
48 sweeping_in_progress_(sweeper_->sweeping_in_progress()) { in FilterSweepingPagesScope()
57 std::move(sweeper_->sweeping_list_[old_space_index]); in FilterSweepingPagesScope()
58 sweeper_->sweeping_list_[old_space_index].clear(); in FilterSweepingPagesScope()
[all …]
Dsweeper.h41 Sweeper* const sweeper_;
58 &sweeper_->sweeping_list_[GetSweepSpaceIndex(OLD_SPACE)]; in FilterOldSpaceSweepingPages()
69 Sweeper* const sweeper_;
Dmark-compact.h548 bool sweeping_in_progress() const { return sweeper_->sweeping_in_progress(); } in sweeping_in_progress()
582 Sweeper* sweeper() { return sweeper_; } in sweeper()
820 Sweeper* sweeper_; variable
Dmark-compact.cc494 sweeper_(new Sweeper(heap, non_atomic_marking_state())) { in MarkCompactCollector()
497 MarkCompactCollector::~MarkCompactCollector() { delete sweeper_; } in ~MarkCompactCollector()
/third_party/node/deps/v8/src/heap/cppgc/
Dheap.cc102 sweeper_.FinishIfRunning(); in ~Heap()
150 sweeper_.FinishIfRunning(); in StartGarbageCollection()
201 sweeper_.Start(sweeping_config); in FinalizeGarbageCollection()
203 sweeper_.NotifyDoneIfNeeded(); in FinalizeGarbageCollection()
229 sweeper_.FinishIfRunning(); in FinalizeIncrementalGarbageCollectionForTesting()
Dsweeper.cc939 : sweeper_(sweeper) { in MutatorThreadSweepingScope()
940 DCHECK(!sweeper_.is_sweeping_on_mutator_thread_); in MutatorThreadSweepingScope()
941 sweeper_.is_sweeping_on_mutator_thread_ = true; in MutatorThreadSweepingScope()
944 sweeper_.is_sweeping_on_mutator_thread_ = false; in ~MutatorThreadSweepingScope()
952 SweeperImpl& sweeper_; member in cppgc::internal::Sweeper::SweeperImpl::MutatorThreadSweepingScope
960 : sweeper_(sweeper), handle_(Handle::NonEmptyTag{}) {} in IncrementalSweepTask()
973 if (!sweeper_->PerformSweepOnMutatorThread( in Run()
975 sweeper_->ScheduleIncrementalSweeping(); in Run()
981 SweeperImpl* sweeper_; member in cppgc::internal::Sweeper::SweeperImpl::IncrementalSweepTask
Dheap-base.h139 Sweeper& sweeper() { return sweeper_; } in sweeper()
140 const Sweeper& sweeper() const { return sweeper_; } in sweeper()
258 Sweeper sweeper_; variable
Dheap-base.cc81 sweeper_(*this), in HeapBase()
221 sweeper_.FinishIfRunning(); in CollectStatistics()
/third_party/node/deps/v8/src/heap/cppgc-js/
Dcpp-heap.cc485 sweeper_.FinishIfRunning(); in DetachIsolate()
534 CHECK(!sweeper_.IsSweepingInProgress()); in InitializeTracing()
681 DCHECK(!sweeper_.IsSweepingInProgress()); in RunMinorGC()
799 sweeper_.FinishIfRunning(); in FinalizeIncrementalGarbageCollectionForTesting()
884 void CppHeap::FinishSweepingIfRunning() { sweeper_.FinishIfRunning(); } in FinishSweepingIfRunning()
886 void CppHeap::FinishSweepingIfOutOfWork() { sweeper_.FinishIfOutOfWork(); } in FinishSweepingIfOutOfWork()