v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <liveness-broker.h>
Public Member Functions | |
template<typename T > | |
bool | IsHeapObjectAlive (const T *object) const |
template<typename T > | |
bool | IsHeapObjectAlive (const WeakMember< T > &weak_member) const |
template<typename T > | |
bool | IsHeapObjectAlive (const UntracedMember< T > &untraced_member) const |
Friends | |
class | internal::LivenessBrokerFactory |
The broker is passed to weak callbacks to allow (temporarily) querying the liveness state of an object. References to non-live objects must be cleared when IsHeapObjectAlive()
returns false.
Definition at line 44 of file liveness-broker.h.
|
inline |
Definition at line 47 of file liveness-broker.h.
References cppgc::kSentinelPointer.
Referenced by EphemeronPair< K, V >::ClearValueIfKeyIsDead().
|
inline |
Definition at line 64 of file liveness-broker.h.
|
inline |
Definition at line 59 of file liveness-broker.h.
|
friend |
Definition at line 73 of file liveness-broker.h.