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

#include <persistent-node.h>

Inheritance diagram for CrossThreadPersistentRegion:
Collaboration diagram for CrossThreadPersistentRegion:

Public Member Functions

 CrossThreadPersistentRegion (const FatalOutOfMemoryHandler &)
 
 ~CrossThreadPersistentRegion ()
 
 CrossThreadPersistentRegion (const CrossThreadPersistentRegion &)=delete
 
CrossThreadPersistentRegionoperator= (const CrossThreadPersistentRegion &)=delete
 
V8_INLINE PersistentNodeAllocateNode (void *owner, TraceCallback trace)
 
V8_INLINE void FreeNode (PersistentNode *node)
 
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)
 
 ~PersistentRegionBase ()
 
 PersistentRegionBase (const PersistentRegionBase &)=delete
 
PersistentRegionBaseoperator= (const PersistentRegionBase &)=delete
 
void Trace (Visitor *)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CrossThreadPersistentRegion() [1/2]

CrossThreadPersistentRegion ( const FatalOutOfMemoryHandler &  )
explicit

◆ ~CrossThreadPersistentRegion()

◆ CrossThreadPersistentRegion() [2/2]

Member Function Documentation

◆ AllocateNode()

◆ ClearAllUsedNodes()

void ClearAllUsedNodes ( )

◆ FreeNode()

◆ NodesInUse()

size_t NodesInUse ( ) const

◆ operator=()

CrossThreadPersistentRegion & operator= ( const CrossThreadPersistentRegion )
delete

◆ Trace()

void Trace ( Visitor )

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