v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <persistent-node.h>
Public Member Functions | |
CrossThreadPersistentRegion (const FatalOutOfMemoryHandler &) | |
~CrossThreadPersistentRegion () | |
CrossThreadPersistentRegion (const CrossThreadPersistentRegion &)=delete | |
CrossThreadPersistentRegion & | operator= (const CrossThreadPersistentRegion &)=delete |
V8_INLINE PersistentNode * | AllocateNode (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) | |
PersistentNode * | TryAllocateNodeFromFreeList (void *owner, TraceRootCallback trace) |
void | FreeNode (PersistentNode *node) |
PersistentNode * | RefillFreeListAndAllocateNode (void *owner, TraceRootCallback trace) |
~PersistentRegionBase () | |
PersistentRegionBase (const PersistentRegionBase &)=delete | |
PersistentRegionBase & | operator= (const PersistentRegionBase &)=delete |
void | Iterate (RootVisitor &) |
size_t | NodesInUse () const |
void | ClearAllUsedNodes () |
Definition at line 179 of file persistent-node.h.
|
explicit |
|
delete |
|
inline |
Definition at line 190 of file persistent-node.h.
References V8_LIKELY.
Referenced by BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::BasicCrossThreadPersistent(), and BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::BasicCrossThreadPersistent().
void ClearAllUsedNodes | ( | ) |
|
inline |
Definition at line 198 of file persistent-node.h.
Referenced by BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::~BasicCrossThreadPersistent().
void Iterate | ( | RootVisitor & | ) |
size_t NodesInUse | ( | ) | const |
|
delete |