v8  9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
CrossThreadPersistentRegion Class Referencefinal

#include <persistent-node.h>

Inheritance diagram for CrossThreadPersistentRegion:
Collaboration diagram for CrossThreadPersistentRegion:

Public Member Functions

 CrossThreadPersistentRegion ()=default
 
 ~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 PersistentRegion
 PersistentRegion ()=default
 
 ~PersistentRegion ()
 
 PersistentRegion (const PersistentRegion &)=delete
 
PersistentRegionoperator= (const PersistentRegion &)=delete
 
PersistentNodeAllocateNode (void *owner, TraceCallback trace)
 
void FreeNode (PersistentNode *node)
 
void Trace (Visitor *)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CrossThreadPersistentRegion() [1/2]

◆ ~CrossThreadPersistentRegion()

◆ CrossThreadPersistentRegion() [2/2]

Member Function Documentation

◆ AllocateNode()

◆ ClearAllUsedNodes()

void ClearAllUsedNodes ( )

◆ FreeNode()

◆ NodesInUse()

size_t NodesInUse ( ) const

◆ operator=()

◆ Trace()

void Trace ( Visitor )

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