v8
9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
|
#include <v8-cppgc.h>
Public Member Functions | |
JSVisitor (cppgc::Visitor::Key key) | |
void | Trace (const TracedReferenceBase &ref) |
Public Member Functions inherited from Visitor | |
Visitor (Key) | |
virtual | ~Visitor ()=default |
template<typename T > | |
void | Trace (const T *t) |
template<typename T > | |
void | Trace (const Member< T > &member) |
template<typename T > | |
void | Trace (const WeakMember< T > &weak_member) |
template<typename T > | |
void | Trace (const T &object) |
template<typename T , void(T::*)(const LivenessBroker &) method> | |
void | RegisterWeakCallbackMethod (const T *object) |
template<typename K , typename V > | |
void | Trace (const EphemeronPair< K, V > &ephemeron_pair) |
template<typename KeyType , typename ValueType > | |
void | TraceEphemeron (const WeakMember< KeyType > &weak_member_key, const Member< ValueType > *member_value) |
template<typename KeyType , typename ValueType > | |
void | TraceEphemeron (const WeakMember< KeyType > &weak_member_key, const ValueType *value) |
template<typename T > | |
void | TraceStrongly (const WeakMember< T > &weak_member) |
template<typename T > | |
void | TraceWeakContainer (const T *object, WeakCallback callback, const void *data) |
template<typename T > | |
void | RegisterMovableReference (const T **slot) |
virtual void | RegisterWeakCallback (WeakCallback callback, const void *data) |
virtual V8_WARN_UNUSED_RESULT bool | DeferTraceToMutatorThreadIfConcurrent (const void *parameter, TraceCallback callback, size_t deferred_size) |
Protected Member Functions | |
virtual void | Visit (const TracedReferenceBase &ref) |
Protected Member Functions inherited from Visitor | |
virtual void | Visit (const void *self, TraceDescriptor) |
virtual void | VisitWeak (const void *self, TraceDescriptor, WeakCallback, const void *weak_member) |
virtual void | VisitRoot (const void *, TraceDescriptor, const SourceLocation &) |
virtual void | VisitWeakRoot (const void *self, TraceDescriptor, WeakCallback, const void *weak_root, const SourceLocation &) |
virtual void | VisitEphemeron (const void *key, const void *value, TraceDescriptor value_desc) |
virtual void | VisitWeakContainer (const void *self, TraceDescriptor strong_desc, TraceDescriptor weak_desc, WeakCallback callback, const void *data) |
virtual void | HandleMovableReference (const void **) |
Definition at line 154 of file v8-cppgc.h.
|
inlineexplicit |
Definition at line 156 of file v8-cppgc.h.
References Visitor::Visitor().
|
inline |
Definition at line 158 of file v8-cppgc.h.
References TracedReferenceBase::IsEmptyThreadSafe(), and JSVisitor::Visit().
Referenced by TraceTrait< v8::TracedReference< T > >::Trace().
|
inlineprotectedvirtual |
Definition at line 166 of file v8-cppgc.h.
Referenced by JSVisitor::Trace().