V8 Project
|
HeapSnapshotEdge represents a directed connection between heap graph nodes: from retainers to retained nodes. More...
#include <v8-profiler.h>
Public Types | |
enum | Type { kContextVariable = 0 , kElement = 1 , kProperty = 2 , kInternal = 3 , kHidden = 4 , kShortcut = 5 , kWeak = 6 } |
Public Member Functions | |
Type | GetType () const |
Returns edge type (see HeapGraphEdge::Type). More... | |
Handle< Value > | GetName () const |
Returns edge name. More... | |
const HeapGraphNode * | GetFromNode () const |
Returns origin node. More... | |
const HeapGraphNode * | GetToNode () const |
Returns destination node. More... | |
HeapSnapshotEdge represents a directed connection between heap graph nodes: from retainers to retained nodes.
Definition at line 183 of file v8-profiler.h.
Enumerator | |
---|---|
kContextVariable | |
kElement | |
kProperty | |
kInternal | |
kHidden | |
kShortcut | |
kWeak |
Definition at line 185 of file v8-profiler.h.
const HeapGraphNode * v8::HeapGraphEdge::GetFromNode | ( | ) | const |
Returns origin node.
Definition at line 7245 of file api.cc.
References v8::ToInternal().
Returns edge name.
This can be a variable name, an element index, or a property name.
Definition at line 7224 of file api.cc.
References v8::internal::Isolate::factory(), v8::kWeak, v8::ToInternal(), v8::Undefined(), and UNREACHABLE.
const HeapGraphNode * v8::HeapGraphEdge::GetToNode | ( | ) | const |
Returns destination node.
Definition at line 7251 of file api.cc.
References to(), and v8::ToInternal().
HeapGraphEdge::Type v8::HeapGraphEdge::GetType | ( | ) | const |
Returns edge type (see HeapGraphEdge::Type).
Definition at line 7219 of file api.cc.
References v8::ToInternal().