v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <persistent-node.h>
Public Member Functions | |
PersistentNode ()=default | |
PersistentNode (const PersistentNode &)=delete | |
PersistentNode & | operator= (const PersistentNode &)=delete |
void | InitializeAsUsedNode (void *owner, TraceRootCallback trace) |
void | InitializeAsFreeNode (PersistentNode *next) |
void | UpdateOwner (void *owner) |
PersistentNode * | FreeListNext () const |
void | Trace (RootVisitor &root_visitor) const |
bool | IsUsed () const |
void * | owner () const |
Definition at line 26 of file persistent-node.h.
|
default |
|
delete |
|
inline |
Definition at line 49 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::IsUsed(), and PersistentNode::next_.
Referenced by PersistentRegionBase::TryAllocateNodeFromFreeList().
|
inline |
Definition at line 39 of file persistent-node.h.
References PersistentNode::next_.
Referenced by PersistentRegionBase::FreeNode().
|
inline |
Definition at line 33 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::owner(), and PersistentNode::owner_.
Referenced by PersistentRegionBase::TryAllocateNodeFromFreeList().
|
inline |
Definition at line 59 of file persistent-node.h.
Referenced by PersistentNode::FreeListNext(), PersistentRegionBase::FreeNode(), PersistentNode::owner(), PersistentNode::Trace(), PersistentRegionBase::TryAllocateNodeFromFreeList(), and PersistentNode::UpdateOwner().
|
delete |
|
inline |
Definition at line 61 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::IsUsed(), and PersistentNode::owner_.
Referenced by PersistentNode::InitializeAsUsedNode(), and PersistentNode::UpdateOwner().
|
inline |
Definition at line 54 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::IsUsed(), and PersistentNode::owner_.
|
inline |
Definition at line 44 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::IsUsed(), PersistentNode::owner(), and PersistentNode::owner_.
Referenced by BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::BasicPersistent(), BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::operator=(), and BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::operator=().
PersistentNode* next_ |
Definition at line 72 of file persistent-node.h.
Referenced by PersistentNode::FreeListNext(), and PersistentNode::InitializeAsFreeNode().
void* owner_ = nullptr |
Definition at line 71 of file persistent-node.h.
Referenced by PersistentNode::InitializeAsUsedNode(), PersistentNode::owner(), PersistentNode::Trace(), and PersistentNode::UpdateOwner().