v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
PersistentNode Class Referencefinal

#include <persistent-node.h>

Collaboration diagram for PersistentNode:

Public Member Functions

 PersistentNode ()=default
 
 PersistentNode (const PersistentNode &)=delete
 
PersistentNodeoperator= (const PersistentNode &)=delete
 
void InitializeAsUsedNode (void *owner, TraceRootCallback trace)
 
void InitializeAsFreeNode (PersistentNode *next)
 
void UpdateOwner (void *owner)
 
PersistentNodeFreeListNext () const
 
void Trace (RootVisitor &root_visitor) const
 
bool IsUsed () const
 
void * owner () const
 

Detailed Description

Definition at line 26 of file persistent-node.h.

Constructor & Destructor Documentation

◆ PersistentNode() [1/2]

PersistentNode ( )
default

◆ PersistentNode() [2/2]

PersistentNode ( const PersistentNode )
delete

Member Function Documentation

◆ FreeListNext()

PersistentNode * FreeListNext ( ) const
inline

◆ InitializeAsFreeNode()

void InitializeAsFreeNode ( PersistentNode next)
inline

Definition at line 39 of file persistent-node.h.

References PersistentNode::next_.

Referenced by PersistentRegionBase::FreeNode().

◆ InitializeAsUsedNode()

void InitializeAsUsedNode ( void *  owner,
TraceRootCallback  trace 
)
inline

◆ IsUsed()

◆ operator=()

PersistentNode & operator= ( const PersistentNode )
delete

◆ owner()

void * owner ( ) const
inline

◆ Trace()

void Trace ( RootVisitor root_visitor) const
inline

Definition at line 54 of file persistent-node.h.

References CPPGC_DCHECK, PersistentNode::IsUsed(), and PersistentNode::owner_.

◆ UpdateOwner()

Field Documentation

◆ next_

◆ owner_


The documentation for this class was generated from the following file: