v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::internal::GCInvoker::GCInvokerImpl Class Referencefinal
Inheritance diagram for cppgc::internal::GCInvoker::GCInvokerImpl:
Collaboration diagram for cppgc::internal::GCInvoker::GCInvokerImpl:

Classes

class  GCTask
 

Public Member Functions

 GCInvokerImpl (GarbageCollector *, cppgc::Platform *, cppgc::Heap::StackSupport)
 
 ~GCInvokerImpl ()
 
 GCInvokerImpl (const GCInvokerImpl &)=delete
 
GCInvokerImploperator= (const GCInvokerImpl &)=delete
 
void CollectGarbage (GCConfig) final
 
void StartIncrementalGarbageCollection (GCConfig) final
 
size_t epoch () const final
 
std::optional< EmbedderStackStateoverridden_stack_state () const final
 
void set_override_stack_state (EmbedderStackState state) final
 
void clear_overridden_stack_state () final
 
- Public Member Functions inherited from cppgc::internal::GarbageCollector

Private Attributes

GarbageCollectorcollector_
 
cppgc::Platformplatform_
 
cppgc::Heap::StackSupport stack_support_
 
GCTask::Handle gc_task_handle_
 

Detailed Description

Definition at line 17 of file gc-invoker.cc.

Constructor & Destructor Documentation

◆ GCInvokerImpl() [1/2]

cppgc::internal::GCInvoker::GCInvokerImpl::GCInvokerImpl ( GarbageCollector * collector,
cppgc::Platform * platform,
cppgc::Heap::StackSupport stack_support )

Definition at line 85 of file gc-invoker.cc.

◆ ~GCInvokerImpl()

cppgc::internal::GCInvoker::GCInvokerImpl::~GCInvokerImpl ( )

Definition at line 92 of file gc-invoker.cc.

◆ GCInvokerImpl() [2/2]

cppgc::internal::GCInvoker::GCInvokerImpl::GCInvokerImpl ( const GCInvokerImpl & )
delete

Member Function Documentation

◆ clear_overridden_stack_state()

void cppgc::internal::GCInvoker::GCInvokerImpl::clear_overridden_stack_state ( )
inlinefinalvirtual

Implements cppgc::internal::GarbageCollector.

Definition at line 34 of file gc-invoker.cc.

Here is the call graph for this function:

◆ CollectGarbage()

void cppgc::internal::GCInvoker::GCInvokerImpl::CollectGarbage ( GCConfig config)
finalvirtual

Implements cppgc::internal::GarbageCollector.

Definition at line 98 of file gc-invoker.cc.

Here is the call graph for this function:

◆ epoch()

size_t cppgc::internal::GCInvoker::GCInvokerImpl::epoch ( ) const
inlinefinalvirtual

Implements cppgc::internal::GarbageCollector.

Definition at line 27 of file gc-invoker.cc.

Here is the call graph for this function:

◆ operator=()

GCInvokerImpl & cppgc::internal::GCInvoker::GCInvokerImpl::operator= ( const GCInvokerImpl & )
delete

◆ overridden_stack_state()

std::optional< EmbedderStackState > cppgc::internal::GCInvoker::GCInvokerImpl::overridden_stack_state ( ) const
inlinefinalvirtual

Implements cppgc::internal::GarbageCollector.

Definition at line 28 of file gc-invoker.cc.

Here is the call graph for this function:

◆ set_override_stack_state()

void cppgc::internal::GCInvoker::GCInvokerImpl::set_override_stack_state ( EmbedderStackState state)
inlinefinalvirtual

Implements cppgc::internal::GarbageCollector.

Definition at line 31 of file gc-invoker.cc.

Here is the call graph for this function:

◆ StartIncrementalGarbageCollection()

void cppgc::internal::GCInvoker::GCInvokerImpl::StartIncrementalGarbageCollection ( GCConfig config)
finalvirtual

Implements cppgc::internal::GarbageCollector.

Definition at line 117 of file gc-invoker.cc.

Here is the call graph for this function:

Member Data Documentation

◆ collector_

GarbageCollector* cppgc::internal::GCInvoker::GCInvokerImpl::collector_
private

Definition at line 79 of file gc-invoker.cc.

◆ gc_task_handle_

GCTask::Handle cppgc::internal::GCInvoker::GCInvokerImpl::gc_task_handle_
private

Definition at line 82 of file gc-invoker.cc.

◆ platform_

cppgc::Platform* cppgc::internal::GCInvoker::GCInvokerImpl::platform_
private

Definition at line 80 of file gc-invoker.cc.

◆ stack_support_

cppgc::Heap::StackSupport cppgc::internal::GCInvoker::GCInvokerImpl::stack_support_
private

Definition at line 81 of file gc-invoker.cc.


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