v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::Sweeper::LocalSweeper Class Referencefinal

#include <sweeper.h>

Collaboration diagram for v8::internal::Sweeper::LocalSweeper:

Public Member Functions

 LocalSweeper (Sweeper *sweeper)
 
 ~LocalSweeper ()=default
 
bool ParallelSweepSpace (AllocationSpace identity, SweepingMode sweeping_mode, uint32_t max_pages=std::numeric_limits< uint32_t >::max())
 
bool ContributeAndWaitForPromotedPagesIteration (JobDelegate *delegate)
 
bool ContributeAndWaitForPromotedPagesIteration ()
 

Private Member Functions

void ParallelSweepPage (PageMetadata *page, AllocationSpace identity, SweepingMode sweeping_mode)
 
bool ParallelIteratePromotedPages (JobDelegate *delegate)
 
bool ParallelIteratePromotedPages ()
 
void ParallelIteratePromotedPage (MutablePageMetadata *page)
 
template<typename ShouldYieldCallback >
bool ContributeAndWaitForPromotedPagesIterationImpl (ShouldYieldCallback should_yield_callback)
 
template<typename ShouldYieldCallback >
bool ParallelIteratePromotedPagesImpl (ShouldYieldCallback should_yield_callback)
 

Private Attributes

Sweeper *const sweeper_
 

Friends

class Sweeper
 

Detailed Description

Definition at line 69 of file sweeper.h.

Constructor & Destructor Documentation

◆ LocalSweeper()

v8::internal::Sweeper::LocalSweeper::LocalSweeper ( Sweeper * sweeper)
inlineexplicit

Definition at line 71 of file sweeper.h.

◆ ~LocalSweeper()

v8::internal::Sweeper::LocalSweeper::~LocalSweeper ( )
default

Member Function Documentation

◆ ContributeAndWaitForPromotedPagesIteration() [1/2]

bool v8::internal::Sweeper::LocalSweeper::ContributeAndWaitForPromotedPagesIteration ( )

Definition at line 411 of file sweeper.cc.

◆ ContributeAndWaitForPromotedPagesIteration() [2/2]

bool v8::internal::Sweeper::LocalSweeper::ContributeAndWaitForPromotedPagesIteration ( JobDelegate * delegate)

Definition at line 405 of file sweeper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ContributeAndWaitForPromotedPagesIterationImpl()

template<typename ShouldYieldCallback >
bool v8::internal::Sweeper::LocalSweeper::ContributeAndWaitForPromotedPagesIterationImpl ( ShouldYieldCallback should_yield_callback)
private

Definition at line 346 of file sweeper.h.

Here is the call graph for this function:

◆ ParallelIteratePromotedPage()

void v8::internal::Sweeper::LocalSweeper::ParallelIteratePromotedPage ( MutablePageMetadata * page)
private

Definition at line 620 of file sweeper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParallelIteratePromotedPages() [1/2]

bool v8::internal::Sweeper::LocalSweeper::ParallelIteratePromotedPages ( )
private

Definition at line 421 of file sweeper.cc.

◆ ParallelIteratePromotedPages() [2/2]

bool v8::internal::Sweeper::LocalSweeper::ParallelIteratePromotedPages ( JobDelegate * delegate)
private

Definition at line 415 of file sweeper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParallelIteratePromotedPagesImpl()

template<typename ShouldYieldCallback >
bool v8::internal::Sweeper::LocalSweeper::ParallelIteratePromotedPagesImpl ( ShouldYieldCallback should_yield_callback)
private

Definition at line 364 of file sweeper.h.

Here is the caller graph for this function:

◆ ParallelSweepPage()

void v8::internal::Sweeper::LocalSweeper::ParallelSweepPage ( PageMetadata * page,
AllocationSpace identity,
SweepingMode sweeping_mode )
private

Definition at line 376 of file sweeper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParallelSweepSpace()

bool v8::internal::Sweeper::LocalSweeper::ParallelSweepSpace ( AllocationSpace identity,
SweepingMode sweeping_mode,
uint32_t max_pages = std::numeric_limits<uint32_t>::max() )

Definition at line 347 of file sweeper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ Sweeper

friend class Sweeper
friend

Definition at line 102 of file sweeper.h.

Member Data Documentation

◆ sweeper_

Sweeper* const v8::internal::Sweeper::LocalSweeper::sweeper_
private

Definition at line 100 of file sweeper.h.


The documentation for this class was generated from the following files: