Definition at line 961 of file sweeper.cc.
◆ FreeMemoryHandling
◆ SweepResult
Enumerator |
---|
kFullyDone | |
kInProgress | |
kMainThreadDoneConcurrentInProgress | |
Definition at line 1491 of file sweeper.cc.
◆ SweeperImpl()
cppgc::internal::Sweeper::SweeperImpl::SweeperImpl |
( |
HeapBase & | heap | ) |
|
|
inlineexplicit |
◆ ~SweeperImpl()
cppgc::internal::Sweeper::SweeperImpl::~SweeperImpl |
( |
| ) |
|
|
inline |
◆ AddMutatorThreadSweepingObserver()
◆ CancelAllSweepingTasks()
void cppgc::internal::Sweeper::SweeperImpl::CancelAllSweepingTasks |
( |
| ) |
|
|
inlineprivate |
◆ FinalizeSweep()
void cppgc::internal::Sweeper::SweeperImpl::FinalizeSweep |
( |
| ) |
|
|
inline |
◆ Finish()
void cppgc::internal::Sweeper::SweeperImpl::Finish |
( |
| ) |
|
|
inline |
◆ FinishIfOutOfWork()
void cppgc::internal::Sweeper::SweeperImpl::FinishIfOutOfWork |
( |
| ) |
|
|
inline |
◆ FinishIfRunning()
bool cppgc::internal::Sweeper::SweeperImpl::FinishIfRunning |
( |
| ) |
|
|
inline |
◆ IsConcurrentSweepingDone()
bool cppgc::internal::Sweeper::SweeperImpl::IsConcurrentSweepingDone |
( |
| ) |
const |
|
inline |
◆ IsSweepingInProgress()
bool cppgc::internal::Sweeper::SweeperImpl::IsSweepingInProgress |
( |
| ) |
const |
|
inline |
◆ IsSweepingOnMutatorThread()
bool cppgc::internal::Sweeper::SweeperImpl::IsSweepingOnMutatorThread |
( |
| ) |
const |
|
inline |
◆ NotifyDone()
void cppgc::internal::Sweeper::SweeperImpl::NotifyDone |
( |
| ) |
|
|
inline |
◆ PerformSweepOnMutatorThread()
◆ RemoveMutatorThreadSweepingObserver()
◆ ScheduleConcurrentSweeping()
void cppgc::internal::Sweeper::SweeperImpl::ScheduleConcurrentSweeping |
( |
| ) |
|
|
inlineprivate |
◆ ScheduleIncrementalSweeping()
void cppgc::internal::Sweeper::SweeperImpl::ScheduleIncrementalSweeping |
( |
std::optional< v8::base::TimeDelta > | delay = {} | ) |
|
|
inlineprivate |
◆ ScheduleLowPriorityIncrementalSweeping()
void cppgc::internal::Sweeper::SweeperImpl::ScheduleLowPriorityIncrementalSweeping |
( |
std::optional< v8::base::TimeDelta > | delay = {} | ) |
|
|
inlineprivate |
◆ Start()
void cppgc::internal::Sweeper::SweeperImpl::Start |
( |
SweepingConfig | config | ) |
|
|
inline |
◆ SweepForAllocationIfRunning()
bool cppgc::internal::Sweeper::SweeperImpl::SweepForAllocationIfRunning |
( |
BaseSpace * | space, |
|
|
size_t | size, |
|
|
v8::base::TimeDelta | max_duration ) |
|
inline |
◆ SweepForLargeAllocation()
◆ SweepForLowPriorityTask()
void cppgc::internal::Sweeper::SweeperImpl::SweepForLowPriorityTask |
( |
v8::base::TimeDelta | max_duration | ) |
|
|
inline |
◆ SweepForNormalAllocation()
◆ SweepForTask()
◆ SweepInForegroundTaskImpl()
◆ SynchronizeAndFinalizeConcurrentAndIncrementalSweeping()
void cppgc::internal::Sweeper::SweeperImpl::SynchronizeAndFinalizeConcurrentAndIncrementalSweeping |
( |
| ) |
|
|
inlineprivate |
◆ WaitForConcurrentSweepingForTesting()
void cppgc::internal::Sweeper::SweeperImpl::WaitForConcurrentSweepingForTesting |
( |
| ) |
|
|
inline |
◆ concurrent_sweeper_handle_
std::unique_ptr<cppgc::JobHandle> cppgc::internal::Sweeper::SweeperImpl::concurrent_sweeper_handle_ |
|
private |
◆ config_
◆ empty_large_pages_
SweepingState cppgc::internal::Sweeper::SweeperImpl::empty_large_pages_ |
|
private |
◆ empty_normal_pages_
SweepingState cppgc::internal::Sweeper::SweeperImpl::empty_normal_pages_ |
|
private |
◆ foreground_task_runner_
std::shared_ptr<cppgc::TaskRunner> cppgc::internal::Sweeper::SweeperImpl::foreground_task_runner_ |
|
private |
◆ heap_
RawHeap& cppgc::internal::Sweeper::SweeperImpl::heap_ |
|
private |
◆ incremental_sweeper_handle_
◆ incremental_sweeper_low_priority_handle_
◆ is_in_progress_
bool cppgc::internal::Sweeper::SweeperImpl::is_in_progress_ = false |
|
private |
◆ is_sweeping_on_mutator_thread_
bool cppgc::internal::Sweeper::SweeperImpl::is_sweeping_on_mutator_thread_ = false |
|
private |
◆ kDelayForRegularPrioritySweeping
auto cppgc::internal::Sweeper::SweeperImpl::kDelayForRegularPrioritySweeping |
|
staticconstexprprivate |
Initial value:=
static constexpr TimeDelta FromMilliseconds(int64_t milliseconds)
Definition at line 1511 of file sweeper.cc.
◆ kDelayWhileConcurrentSweepingMakesProgress
auto cppgc::internal::Sweeper::SweeperImpl::kDelayWhileConcurrentSweepingMakesProgress |
|
staticconstexprprivate |
◆ kDelayWhileLowPrioritySweepingMakesProgress
auto cppgc::internal::Sweeper::SweeperImpl::kDelayWhileLowPrioritySweepingMakesProgress |
|
staticconstexprprivate |
◆ kMaxHeapPercentageForNoSweeping
double cppgc::internal::Sweeper::SweeperImpl::kMaxHeapPercentageForNoSweeping = 50 |
|
staticconstexprprivate |
◆ low_priority_foreground_task_runner_
std::shared_ptr<cppgc::TaskRunner> cppgc::internal::Sweeper::SweeperImpl::low_priority_foreground_task_runner_ |
|
private |
◆ low_priority_task_ran_
bool cppgc::internal::Sweeper::SweeperImpl::low_priority_task_ran_ = false |
|
private |
◆ mutator_thread_sweeping_observers_
◆ notify_done_pending_
bool cppgc::internal::Sweeper::SweeperImpl::notify_done_pending_ = false |
|
private |
◆ page_pool_
◆ platform_
◆ space_states_
SpaceStates cppgc::internal::Sweeper::SweeperImpl::space_states_ |
|
private |
◆ stats_collector_
StatsCollector* const cppgc::internal::Sweeper::SweeperImpl::stats_collector_ |
|
private |
◆ unused_destroyed_normal_pages_
size_t cppgc::internal::Sweeper::SweeperImpl::unused_destroyed_normal_pages_ = 0 |
|
private |
The documentation for this class was generated from the following file: