v8
10.1.124 (node 18.2.0)
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, 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) | |
PersistentNode * | TryAllocateNodeFromFreeList (void *owner, TraceCallback trace) |
void | FreeNode (PersistentNode *node) |
PersistentNode * | RefillFreeListAndAllocateNode (void *owner, TraceCallback trace) |
~PersistentRegionBase () | |
PersistentRegionBase (const PersistentRegionBase &)=delete | |
PersistentRegionBase & | operator= (const PersistentRegionBase &)=delete |
void | Trace (Visitor *) |
size_t | NodesInUse () const |
void | ClearAllUsedNodes () |
Definition at line 181 of file persistent-node.h.
|
explicit |
|
delete |
|
inline |
Definition at line 192 of file persistent-node.h.
References PersistentRegionLock::AssertLocked(), PersistentRegionBase::RefillFreeListAndAllocateNode(), and PersistentRegionBase::TryAllocateNodeFromFreeList().
Referenced by BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::BasicCrossThreadPersistent().
void ClearAllUsedNodes | ( | ) |
|
inline |
Definition at line 200 of file persistent-node.h.
References PersistentRegionLock::AssertLocked(), and PersistentRegionBase::FreeNode().
Referenced by BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::~BasicCrossThreadPersistent().
size_t NodesInUse | ( | ) | const |
|
delete |
void Trace | ( | Visitor * | ) |