v8  8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
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, TraceCallback trace)
 
void InitializeAsFreeNode (PersistentNode *next)
 
void UpdateOwner (void *owner)
 
PersistentNodeFreeListNext () const
 
void Trace (Visitor *visitor) const
 
bool IsUsed () const
 
void * owner () const
 

Detailed Description

Definition at line 25 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

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

References PersistentNode::IsUsed().

Referenced by PersistentRegion::AllocateNode().

◆ InitializeAsFreeNode()

void InitializeAsFreeNode ( PersistentNode next)
inline

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

Referenced by PersistentRegion::FreeNode().

◆ InitializeAsUsedNode()

void InitializeAsUsedNode ( void *  owner,
TraceCallback  trace 
)
inline

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

Referenced by PersistentRegion::AllocateNode().

◆ IsUsed()

bool IsUsed ( ) const
inline

◆ operator=()

PersistentNode& operator= ( const PersistentNode )
delete

◆ owner()

void* owner ( ) const
inline

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

References PersistentNode::IsUsed().

◆ Trace()

void Trace ( Visitor visitor) const
inline

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

References PersistentNode::IsUsed().

◆ UpdateOwner()

void UpdateOwner ( void *  owner)
inline

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

References PersistentNode::IsUsed().

Field Documentation

◆ next_

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

◆ owner_

void* owner_ = nullptr

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


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