#include <v8-traced-handle.h>
Public Member Functions | |
void | Reset () |
Local< Data > | Get (Isolate *isolate) const |
bool | IsEmptyThreadSafe () const |
Public Member Functions inherited from v8::api_internal::IndirectHandleBase | |
bool | IsEmpty () const |
void | Clear () |
Protected Member Functions | |
TracedReferenceBase ()=default | |
void | SetSlotThreadSafe (internal::Address *new_val) |
const internal::Address * | GetSlotThreadSafe () const |
void | CheckValue () const |
Protected Member Functions inherited from v8::api_internal::IndirectHandleBase | |
IndirectHandleBase ()=default | |
IndirectHandleBase (const IndirectHandleBase &other)=default | |
IndirectHandleBase & | operator= (const IndirectHandleBase &that)=default |
IndirectHandleBase (internal::Address *location) | |
internal::Address | ptr () const |
internal::Address *const & | slot () const |
internal::Address *& | slot () |
template<typename T , bool check_null = false> | |
T * | value () const |
internal::ValueHelper::InternalRepresentationType | repr () const |
Friends | |
class | internal::BasicTracedReferenceExtractor |
template<typename F > | |
class | Local |
template<typename U > | |
bool | operator== (const TracedReferenceBase &, const Local< U > &) |
bool | operator== (const TracedReferenceBase &, const TracedReferenceBase &) |
An indirect handle, where the indirect pointer points to a GlobalHandles node.
|
inlineprotecteddefault |
|
protected |
Construct a Local<Data> from this handle.
|
inlineprotected |
Get this reference in a thread-safe way
|
inline |
Returns true if this TracedReference is empty, i.e., has not been assigned an object. This version of IsEmpty is thread-safe.
|
inline |
If non-empty, destroy the underlying storage cell. |IsEmpty| will return true after this call.
|
inlineprotected |
Update this reference in a thread-safe way.
|
friend |
|
friend |
|
friend |
|
friend |