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

Public Types

enum  Type {
  kHidden = v8::HeapGraphNode::kHidden, kArray = v8::HeapGraphNode::kArray, kString = v8::HeapGraphNode::kString, kObject = v8::HeapGraphNode::kObject,
  kCode = v8::HeapGraphNode::kCode, kClosure = v8::HeapGraphNode::kClosure, kRegExp = v8::HeapGraphNode::kRegExp, kHeapNumber = v8::HeapGraphNode::kHeapNumber,
  kNative = v8::HeapGraphNode::kNative, kSynthetic = v8::HeapGraphNode::kSynthetic, kConsString = v8::HeapGraphNode::kConsString, kSlicedString = v8::HeapGraphNode::kSlicedString,
  kSymbol = v8::HeapGraphNode::kSymbol, kBigInt = v8::HeapGraphNode::kBigInt
}
 

Public Member Functions

 HeapEntry (HeapSnapshot *snapshot, int index, Type type, const char *name, SnapshotObjectId id, size_t self_size, unsigned trace_node_id)
 
HeapSnapshotsnapshot ()
 
Type type () const
 
void set_type (Type type)
 
const charname () const
 
void set_name (const char *name)
 
SnapshotObjectId id () const
 
size_t self_size () const
 
unsigned trace_node_id () const
 
int index () const
 
V8_INLINE int children_count () const
 
V8_INLINE int set_children_index (int index)
 
V8_INLINE void add_child (HeapGraphEdge *edge)
 
V8_INLINE HeapGraphEdgechild (int i)
 
V8_INLINE Isolateisolate () const
 
void SetIndexedReference (HeapGraphEdge::Type type, int index, HeapEntry *entry)
 
void SetNamedReference (HeapGraphEdge::Type type, const char *name, HeapEntry *entry)
 
void SetIndexedAutoIndexReference (HeapGraphEdge::Type type, HeapEntry *child)
 
void SetNamedAutoIndexReference (HeapGraphEdge::Type type, const char *description, HeapEntry *child, StringsStorage *strings)
 
void Print (const char *prefix, const char *edge_name, int max_depth, int indent)
 

Detailed Description

Definition at line 98 of file heap-snapshot-generator.h.


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