![]() |
v8 13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
|
#include <visitor.h>
Public Member Functions | |
CPPGC_DISALLOW_NEW () | |
EphemeronPair (K *k, V *v) | |
void | ClearValueIfKeyIsDead (const LivenessBroker &broker) |
void | Trace (Visitor *visitor) const |
Data Fields | |
WeakMember< K > | key |
Member< V > | value |
An ephemeron pair is used to conditionally retain an object. The value
will be kept alive only if the key
is alive.
|
inline |
|
inline |
Definition at line 51 of file visitor.h.
References LivenessBroker::IsHeapObjectAlive(), key, and value.
Referenced by Visitor::Trace().
CPPGC_DISALLOW_NEW | ( | ) |
Definition at line 459 of file visitor.h.
References key, Visitor::TraceEphemeron(), and value.
WeakMember<K> key |
Definition at line 48 of file visitor.h.
Referenced by ClearValueIfKeyIsDead(), EphemeronPair(), Trace(), and Visitor::Trace().
Definition at line 49 of file visitor.h.
Referenced by ClearValueIfKeyIsDead(), EphemeronPair(), Trace(), and Visitor::Trace().