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

#include <persistent-node.h>

Inheritance diagram for cppgc::internal::CrossThreadPersistentRegion:
Collaboration diagram for cppgc::internal::CrossThreadPersistentRegion:

Public Member Functions

 CrossThreadPersistentRegion (const FatalOutOfMemoryHandler &)
 
 ~CrossThreadPersistentRegion ()
 
 CrossThreadPersistentRegion (const CrossThreadPersistentRegion &)=delete
 
CrossThreadPersistentRegionoperator= (const CrossThreadPersistentRegion &)=delete
 
V8_INLINE PersistentNodeAllocateNode (void *owner, TraceRootCallback trace)
 
V8_INLINE void FreeNode (PersistentNode *node)
 
void Iterate (RootVisitor &)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Additional Inherited Members

- Protected Member Functions inherited from cppgc::internal::PersistentRegionBase
 PersistentRegionBase (const FatalOutOfMemoryHandler &oom_handler)
 
PersistentNodeTryAllocateNodeFromFreeList (void *owner, TraceRootCallback trace)
 
void FreeNode (PersistentNode *node)
 
PersistentNodeRefillFreeListAndAllocateNode (void *owner, TraceRootCallback trace)
 
 ~PersistentRegionBase ()
 
 PersistentRegionBase (const PersistentRegionBase &)=delete
 
PersistentRegionBaseoperator= (const PersistentRegionBase &)=delete
 
void Iterate (RootVisitor &)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Detailed Description

Definition at line 184 of file persistent-node.h.

Constructor & Destructor Documentation

◆ CrossThreadPersistentRegion() [1/2]

cppgc::internal::CrossThreadPersistentRegion::CrossThreadPersistentRegion ( const FatalOutOfMemoryHandler & oom_handler)
explicit

Definition at line 132 of file persistent-node.cc.

◆ ~CrossThreadPersistentRegion()

cppgc::internal::CrossThreadPersistentRegion::~CrossThreadPersistentRegion ( )

Definition at line 136 of file persistent-node.cc.

Here is the call graph for this function:

◆ CrossThreadPersistentRegion() [2/2]

cppgc::internal::CrossThreadPersistentRegion::CrossThreadPersistentRegion ( const CrossThreadPersistentRegion & )
delete

Member Function Documentation

◆ AllocateNode()

V8_INLINE PersistentNode * cppgc::internal::CrossThreadPersistentRegion::AllocateNode ( void * owner,
TraceRootCallback trace )
inline

Definition at line 195 of file persistent-node.h.

◆ ClearAllUsedNodes()

void cppgc::internal::CrossThreadPersistentRegion::ClearAllUsedNodes ( )

Definition at line 153 of file persistent-node.cc.

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

◆ FreeNode()

V8_INLINE void cppgc::internal::CrossThreadPersistentRegion::FreeNode ( PersistentNode * node)
inline

Definition at line 203 of file persistent-node.h.

◆ Iterate()

void cppgc::internal::CrossThreadPersistentRegion::Iterate ( RootVisitor & root_visitor)

Definition at line 143 of file persistent-node.cc.

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

◆ NodesInUse()

size_t cppgc::internal::CrossThreadPersistentRegion::NodesInUse ( ) const

Definition at line 148 of file persistent-node.cc.

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

◆ operator=()

CrossThreadPersistentRegion & cppgc::internal::CrossThreadPersistentRegion::operator= ( const CrossThreadPersistentRegion & )
delete

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