Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
cppgc::internal::PersistentRegionBase Class Reference

#include <persistent-node.h>

Inheritance diagram for cppgc::internal::PersistentRegionBase:
[legend]

Public Member Functions

 ~PersistentRegionBase ()
 
 PersistentRegionBase (const PersistentRegionBase &)=delete
 
PersistentRegionBaseoperator= (const PersistentRegionBase &)=delete
 
void Iterate (RootVisitor &)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Protected Member Functions

 PersistentRegionBase (const FatalOutOfMemoryHandler &oom_handler)
 
PersistentNodeTryAllocateNodeFromFreeList (void *owner, TraceRootCallback trace)
 
void FreeNode (PersistentNode *node)
 
PersistentNodeRefillFreeListAndAllocateNode (void *owner, TraceRootCallback trace)
 

Friends

class CrossThreadPersistentRegion
 

Constructor & Destructor Documentation

◆ ~PersistentRegionBase()

cppgc::internal::PersistentRegionBase::~PersistentRegionBase ( )

◆ PersistentRegionBase() [1/2]

cppgc::internal::PersistentRegionBase::PersistentRegionBase ( const PersistentRegionBase )
delete

◆ PersistentRegionBase() [2/2]

cppgc::internal::PersistentRegionBase::PersistentRegionBase ( const FatalOutOfMemoryHandler &  oom_handler)
explicitprotected

Member Function Documentation

◆ ClearAllUsedNodes()

void cppgc::internal::PersistentRegionBase::ClearAllUsedNodes ( )

◆ FreeNode()

void cppgc::internal::PersistentRegionBase::FreeNode ( PersistentNode node)
inlineprotected
Here is the call graph for this function:

◆ Iterate()

void cppgc::internal::PersistentRegionBase::Iterate ( RootVisitor )

◆ NodesInUse()

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

◆ operator=()

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

◆ RefillFreeListAndAllocateNode()

PersistentNode * cppgc::internal::PersistentRegionBase::RefillFreeListAndAllocateNode ( void *  owner,
TraceRootCallback  trace 
)
protected

◆ TryAllocateNodeFromFreeList()

PersistentNode * cppgc::internal::PersistentRegionBase::TryAllocateNodeFromFreeList ( void *  owner,
TraceRootCallback  trace 
)
inlineprotected
Here is the call graph for this function:

Friends And Related Function Documentation

◆ CrossThreadPersistentRegion

friend class CrossThreadPersistentRegion
friend

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