v8 10.2.154 (node 18.16.0)
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, TraceCallback trace) |
void | InitializeAsFreeNode (PersistentNode *next) |
void | UpdateOwner (void *owner) |
PersistentNode * | FreeListNext () const |
void | Trace (Visitor *visitor) const |
bool | IsUsed () const |
void * | owner () const |
Definition at line 28 of file persistent-node.h.
|
default |
|
delete |
|
inline |
Definition at line 51 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::IsUsed(), and PersistentNode::next_.
Referenced by PersistentRegionBase::TryAllocateNodeFromFreeList().
|
inline |
Definition at line 41 of file persistent-node.h.
References PersistentNode::next_.
Referenced by PersistentRegionBase::FreeNode().
|
inline |
Definition at line 35 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::owner(), and PersistentNode::owner_.
Referenced by PersistentRegionBase::TryAllocateNodeFromFreeList().
|
inline |
Definition at line 61 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 63 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::IsUsed(), and PersistentNode::owner_.
Referenced by PersistentNode::InitializeAsUsedNode(), and PersistentNode::UpdateOwner().
|
inline |
Definition at line 56 of file persistent-node.h.
References CPPGC_DCHECK, PersistentNode::IsUsed(), and PersistentNode::owner_.
|
inline |
Definition at line 46 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 74 of file persistent-node.h.
Referenced by PersistentNode::FreeListNext(), and PersistentNode::InitializeAsFreeNode().
void* owner_ = nullptr |
Definition at line 73 of file persistent-node.h.
Referenced by PersistentNode::InitializeAsUsedNode(), PersistentNode::owner(), PersistentNode::Trace(), and PersistentNode::UpdateOwner().