v8
10.1.124 (node 18.2.0)
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 43 of file liveness-broker.h.
|
inline |
Definition at line 46 of file liveness-broker.h.
|
inline |
Definition at line 62 of file liveness-broker.h.
References cppgc::kSentinelPointer.
|
inline |
Definition at line 56 of file liveness-broker.h.
References cppgc::kSentinelPointer.
|
friend |
Definition at line 72 of file liveness-broker.h.