V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::GlobalHandles::Node Class Reference

Public Types

enum  State {
  FREE = 0, NORMAL, WEAK, PENDING,
  NEAR_DEATH, NUMBER_OF_NODE_STATES
}
 

Public Member Functions

void Initialize (int index, Node **first_free)
 
void Acquire (Object *object)
 
void Zap ()
 
void Release ()
 
ObjectPtr object () const
 
ObjectSlot location ()
 
const charlabel ()
 
Handle< Objecthandle ()
 
bool has_wrapper_class_id () const
 
uint16_t wrapper_class_id () const
 
State state () const
 
void set_state (State state)
 
bool is_independent ()
 
void set_independent (bool v)
 
bool is_active ()
 
void set_active (bool v)
 
bool is_in_new_space_list ()
 
void set_in_new_space_list (bool v)
 
WeaknessType weakness_type () const
 
void set_weakness_type (WeaknessType weakness_type)
 
bool IsNearDeath () const
 
bool IsWeak () const
 
bool IsInUse () const
 
bool IsPhantomCallback () const
 
bool IsPhantomResetHandle () const
 
bool IsPendingPhantomCallback () const
 
bool IsPendingPhantomResetHandle () const
 
bool IsRetainer () const
 
bool IsStrongRetainer () const
 
bool IsWeakRetainer () const
 
void MarkPending ()
 
void set_parameter (void *parameter)
 
void * parameter () const
 
Nodenext_free ()
 
void set_next_free (Node *value)
 
void MakeWeak (void *parameter, WeakCallbackInfo< void >::Callback phantom_callback, v8::WeakCallbackType type)
 
void MakeWeak (Address **location_addr)
 
void * ClearWeakness ()
 
void AnnotateStrongRetainer (const char *label)
 
void CollectPhantomCallbackData (std::vector< PendingPhantomCallback > *pending_phantom_callbacks)
 
void ResetPhantomHandle ()
 
bool PostGarbageCollectionProcessing (Isolate *isolate)
 
GlobalHandlesGetGlobalHandles ()
 

Static Public Member Functions

static NodeFromLocation (Address *location)
 

Detailed Description

Definition at line 19 of file global-handles.cc.


The documentation for this class was generated from the following file: