v8
9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
|
#include <persistent-node.h>
Public Member Functions | |
CrossThreadPersistentRegion ()=default | |
~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 PersistentRegion | |
PersistentRegion ()=default | |
~PersistentRegion () | |
PersistentRegion (const PersistentRegion &)=delete | |
PersistentRegion & | operator= (const PersistentRegion &)=delete |
PersistentNode * | AllocateNode (void *owner, TraceCallback trace) |
void | FreeNode (PersistentNode *node) |
void | Trace (Visitor *) |
size_t | NodesInUse () const |
void | ClearAllUsedNodes () |
Definition at line 141 of file persistent-node.h.
|
default |
|
delete |
|
inline |
Definition at line 151 of file persistent-node.h.
References PersistentRegion::AllocateNode(), and PersistentRegionLock::AssertLocked().
Referenced by BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::BasicCrossThreadPersistent().
void ClearAllUsedNodes | ( | ) |
|
inline |
Definition at line 156 of file persistent-node.h.
References PersistentRegionLock::AssertLocked(), and PersistentRegion::FreeNode().
Referenced by BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear().
size_t NodesInUse | ( | ) | const |
|
delete |
void Trace | ( | Visitor * | ) |