v8 12.4.254 (node 22.4.1)
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 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
 

Detailed Description

Definition at line 77 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

◆ Iterate()

void Iterate ( RootVisitor )

◆ NodesInUse()

size_t NodesInUse ( ) const

◆ operator=()

PersistentRegionBase & operator= ( const PersistentRegionBase )
delete

◆ RefillFreeListAndAllocateNode()

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

◆ TryAllocateNodeFromFreeList()

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

Friends And Related Symbol Documentation

◆ CrossThreadPersistentRegion

friend class CrossThreadPersistentRegion
friend

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


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