v8
10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
|
#include <persistent-node.h>
Public Member Functions | |
~PersistentRegionBase () | |
PersistentRegionBase (const PersistentRegionBase &)=delete | |
PersistentRegionBase & | operator= (const PersistentRegionBase &)=delete |
void | Trace (Visitor *) |
size_t | NodesInUse () const |
void | ClearAllUsedNodes () |
Protected Member Functions | |
PersistentRegionBase (const FatalOutOfMemoryHandler &oom_handler) | |
PersistentNode * | TryAllocateNodeFromFreeList (void *owner, TraceCallback trace) |
void | FreeNode (PersistentNode *node) |
PersistentNode * | RefillFreeListAndAllocateNode (void *owner, TraceCallback trace) |
Friends | |
class | CrossThreadPersistentRegion |
Definition at line 79 of file persistent-node.h.
~PersistentRegionBase | ( | ) |
|
delete |
|
explicitprotected |
void ClearAllUsedNodes | ( | ) |
|
inlineprotected |
Definition at line 111 of file persistent-node.h.
References PersistentNode::InitializeAsFreeNode(), and PersistentNode::IsUsed().
Referenced by PersistentRegion::FreeNode(), and CrossThreadPersistentRegion::FreeNode().
size_t NodesInUse | ( | ) | const |
|
delete |
|
protected |
Referenced by PersistentRegion::AllocateNode(), and CrossThreadPersistentRegion::AllocateNode().
void Trace | ( | Visitor * | ) |
|
inlineprotected |
Definition at line 98 of file persistent-node.h.
References PersistentNode::FreeListNext(), PersistentNode::InitializeAsUsedNode(), and PersistentNode::IsUsed().
Referenced by PersistentRegion::AllocateNode(), and CrossThreadPersistentRegion::AllocateNode().
|
friend |
Definition at line 134 of file persistent-node.h.