v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
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()

V8_INLINE PersistentNode * AllocateNode ( void *  owner,
TraceCallback  trace 
)
inline

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

References CPPGC_CHECK, CPPGC_DCHECK, and V8_LIKELY.

◆ FreeNode()

V8_INLINE void FreeNode ( PersistentNode node)
inline

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

References CPPGC_DCHECK.

◆ operator=()

PersistentRegion & operator= ( const PersistentRegion )
delete

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