v8
9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
|
#include <persistent-node.h>
Public Member Functions | |
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 () |
Friends | |
class | CrossThreadPersistentRegion |
Definition at line 78 of file persistent-node.h.
|
default |
~PersistentRegion | ( | ) |
|
delete |
|
inline |
Definition at line 89 of file persistent-node.h.
References PersistentNode::FreeListNext(), PersistentNode::InitializeAsUsedNode(), and PersistentNode::IsUsed().
Referenced by CrossThreadPersistentRegion::AllocateNode().
void ClearAllUsedNodes | ( | ) |
|
inline |
Definition at line 101 of file persistent-node.h.
References PersistentNode::InitializeAsFreeNode(), and PersistentNode::IsUsed().
Referenced by CrossThreadPersistentRegion::FreeNode().
size_t NodesInUse | ( | ) | const |
|
delete |
void Trace | ( | Visitor * | ) |
|
friend |
Definition at line 126 of file persistent-node.h.