v8 12.4.254 (node 22.4.1)
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, TraceRootCallback trace)
 
V8_INLINE void FreeNode (PersistentNode *node)
 
void Iterate (RootVisitor &)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Additional Inherited Members

- Protected Member Functions inherited from PersistentRegionBase
 PersistentRegionBase (const FatalOutOfMemoryHandler &oom_handler)
 
PersistentNodeTryAllocateNodeFromFreeList (void *owner, TraceRootCallback trace)
 
void FreeNode (PersistentNode *node)
 
PersistentNodeRefillFreeListAndAllocateNode (void *owner, TraceRootCallback trace)
 
 ~PersistentRegionBase ()
 
 PersistentRegionBase (const PersistentRegionBase &)=delete
 
PersistentRegionBaseoperator= (const PersistentRegionBase &)=delete
 
void Iterate (RootVisitor &)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Detailed Description

Definition at line 179 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()

◆ Iterate()

void Iterate ( RootVisitor )

◆ NodesInUse()

size_t NodesInUse ( ) const

◆ operator=()

CrossThreadPersistentRegion & operator= ( const CrossThreadPersistentRegion )
delete

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