v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::HeapGraphEdge Class Reference

#include <v8-profiler.h>

Collaboration diagram for v8::HeapGraphEdge:

Public Types

enum  Type {
  kContextVariable = 0 , kElement = 1 , kProperty = 2 , kInternal = 3 ,
  kHidden = 4 , kShortcut = 5 , kWeak = 6
}
 

Public Member Functions

Type GetType () const
 
Local< ValueGetName () const
 
const HeapGraphNodeGetFromNode () const
 
const HeapGraphNodeGetToNode () const
 

Detailed Description

HeapSnapshotEdge represents a directed connection between heap graph nodes: from retainers to retained nodes.

Definition at line 547 of file v8-profiler.h.

Member Enumeration Documentation

◆ Type

Enumerator
kContextVariable 
kElement 
kProperty 
kInternal 
kHidden 
kShortcut 
kWeak 

Definition at line 549 of file v8-profiler.h.

Member Function Documentation

◆ GetFromNode()

const HeapGraphNode * v8::HeapGraphEdge::GetFromNode ( ) const

Returns origin node.

Definition at line 11609 of file api.cc.

Here is the call graph for this function:

◆ GetName()

Local< Value > v8::HeapGraphEdge::GetName ( ) const

Returns edge name. This can be a variable name, an element index, or a property name.

Definition at line 11589 of file api.cc.

Here is the call graph for this function:

◆ GetToNode()

const HeapGraphNode * v8::HeapGraphEdge::GetToNode ( ) const

Returns destination node.

Definition at line 11614 of file api.cc.

Here is the call graph for this function:

◆ GetType()

HeapGraphEdge::Type v8::HeapGraphEdge::GetType ( ) const

Returns edge type (see HeapGraphEdge::Type).

Definition at line 11585 of file api.cc.

Here is the call graph for this function:

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