v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
PersistentRegion Class Referencefinal

#include <persistent-node.h>

Inheritance diagram for PersistentRegion:
Collaboration diagram for PersistentRegion:

Public Member Functions

 PersistentRegion (const FatalOutOfMemoryHandler &)
 
 ~PersistentRegion ()=default
 
 PersistentRegion (const PersistentRegion &)=delete
 
PersistentRegionoperator= (const PersistentRegion &)=delete
 
V8_INLINE PersistentNodeAllocateNode (void *owner, TraceCallback trace)
 
V8_INLINE void FreeNode (PersistentNode *node)
 
- Public Member Functions inherited from PersistentRegionBase
 ~PersistentRegionBase ()
 
 PersistentRegionBase (const PersistentRegionBase &)=delete
 
PersistentRegionBaseoperator= (const PersistentRegionBase &)=delete
 
void Trace (Visitor *)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Additional Inherited Members

- Protected Member Functions inherited from PersistentRegionBase
 PersistentRegionBase (const FatalOutOfMemoryHandler &oom_handler)
 
PersistentNodeTryAllocateNodeFromFreeList (void *owner, TraceCallback trace)
 
void FreeNode (PersistentNode *node)
 
PersistentNodeRefillFreeListAndAllocateNode (void *owner, TraceCallback trace)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ PersistentRegion() [1/2]

PersistentRegion ( const FatalOutOfMemoryHandler &  )
explicit

◆ ~PersistentRegion()

~PersistentRegion ( )
default

◆ PersistentRegion() [2/2]

PersistentRegion ( const PersistentRegion )
delete

Member Function Documentation

◆ AllocateNode()

◆ FreeNode()

V8_INLINE void FreeNode ( PersistentNode node)
inline

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

References PersistentRegionBase::FreeNode().

◆ operator=()

PersistentRegion& operator= ( const PersistentRegion )
delete

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