v8 12.4.254 (node 22.4.1)
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 | Iterate (RootVisitor &) |
size_t | NodesInUse () const |
void | ClearAllUsedNodes () |
Protected Member Functions | |
PersistentRegionBase (const FatalOutOfMemoryHandler &oom_handler) | |
PersistentNode * | TryAllocateNodeFromFreeList (void *owner, TraceRootCallback trace) |
void | FreeNode (PersistentNode *node) |
PersistentNode * | RefillFreeListAndAllocateNode (void *owner, TraceRootCallback trace) |
Friends | |
class | CrossThreadPersistentRegion |
Definition at line 77 of file persistent-node.h.
~PersistentRegionBase | ( | ) |
|
delete |
|
explicitprotected |
void ClearAllUsedNodes | ( | ) |
|
inlineprotected |
Definition at line 109 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::InitializeAsFreeNode(), and PersistentNode::IsUsed().
void Iterate | ( | RootVisitor & | ) |
size_t NodesInUse | ( | ) | const |
|
delete |
|
protected |
|
inlineprotected |
Definition at line 96 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::FreeListNext(), PersistentNode::InitializeAsUsedNode(), PersistentNode::IsUsed(), and V8_LIKELY.
|
friend |
Definition at line 132 of file persistent-node.h.