v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
PersistentRegionBase Class Reference

#include <persistent-node.h>

Inheritance diagram for PersistentRegionBase:

Public Member Functions

 ~PersistentRegionBase ()
 
 PersistentRegionBase (const PersistentRegionBase &)=delete
 
PersistentRegionBaseoperator= (const PersistentRegionBase &)=delete
 
void Trace (Visitor *)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Protected Member Functions

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

Friends

class CrossThreadPersistentRegion
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~PersistentRegionBase()

◆ PersistentRegionBase() [1/2]

◆ PersistentRegionBase() [2/2]

PersistentRegionBase ( const FatalOutOfMemoryHandler &  oom_handler)
explicitprotected

Member Function Documentation

◆ ClearAllUsedNodes()

void ClearAllUsedNodes ( )

◆ FreeNode()

void FreeNode ( PersistentNode node)
inlineprotected

◆ NodesInUse()

size_t NodesInUse ( ) const

◆ operator=()

PersistentRegionBase & operator= ( const PersistentRegionBase )
delete

◆ RefillFreeListAndAllocateNode()

PersistentNode * RefillFreeListAndAllocateNode ( void *  owner,
TraceCallback  trace 
)
protected

◆ Trace()

void Trace ( Visitor )

◆ TryAllocateNodeFromFreeList()

PersistentNode * TryAllocateNodeFromFreeList ( void *  owner,
TraceCallback  trace 
)
inlineprotected

Friends And Related Symbol Documentation

◆ CrossThreadPersistentRegion

friend class CrossThreadPersistentRegion
friend

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


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