#include <v8-profiler.h>
Definition at line 752 of file v8-profiler.h.
◆ Detachedness
Detachedness specifies whether an object is attached or detached from the main application state. While unkown in general, there may be objects that specifically know their state. V8 passes this information along in the snapshot. Users of the snapshot may use it to annotate the object graph.
Enumerator |
---|
kUnknown | |
kAttached | |
kDetached | |
Definition at line 761 of file v8-profiler.h.
◆ Node() [1/2]
◆ ~Node()
◆ Node() [2/2]
◆ GetDetachedness()
Detachedness state of a given object. While unkown in general, there may be objects that specifically know their state. V8 passes this information along in the snapshot. Users of the snapshot may use it to annotate the object graph.
Definition at line 797 of file v8-profiler.h.
References EmbedderGraph::Node::kUnknown.
◆ GetNativeObject()
Returns the NativeObject that can be used for querying the |HeapSnapshot|.
Definition at line 789 of file v8-profiler.h.
◆ IsEmbedderNode()
virtual bool IsEmbedderNode |
( |
| ) |
|
|
inlinevirtual |
Must return true for non-V8 nodes.
Definition at line 779 of file v8-profiler.h.
◆ IsRootNode()
virtual bool IsRootNode |
( |
| ) |
|
|
inlinevirtual |
◆ Name()
virtual const char* Name |
( |
| ) |
|
|
pure virtual |
◆ NamePrefix()
virtual const char* NamePrefix |
( |
| ) |
|
|
inlinevirtual |
Optional name prefix. It is used in Chrome for tagging detached nodes.
Definition at line 783 of file v8-profiler.h.
◆ operator=()
◆ SizeInBytes()
virtual size_t SizeInBytes |
( |
| ) |
|
|
pure virtual |
◆ WrapperNode()
virtual Node* WrapperNode |
( |
| ) |
|
|
inlinevirtual |
The corresponding V8 wrapper node if not null. During heap snapshot generation the embedder node and the V8 wrapper node will be merged into one node to simplify retaining paths.
Definition at line 776 of file v8-profiler.h.
The documentation for this class was generated from the following file: