Definition at line 38 of file cpp-snapshot.cc.
◆ EmbedderNode()
◆ ~EmbedderNode()
v8::internal::EmbedderNode::~EmbedderNode |
( |
| ) |
|
|
overridedefault |
◆ GetAddress()
const void * v8::internal::EmbedderNode::GetAddress |
( |
| ) |
|
|
inlineoverridevirtual |
Returns the address of the object in the embedder heap, or nullptr to not specify the address. If this address is provided, then V8 can generate consistent IDs for objects across subsequent heap snapshots, which allows devtools to determine which objects were retained from one snapshot to the next. This value is used only if GetNativeObject returns nullptr.
Reimplemented from v8::EmbedderGraph::Node.
Definition at line 79 of file cpp-snapshot.cc.
◆ GetDetachedness()
Detachedness v8::internal::EmbedderNode::GetDetachedness |
( |
| ) |
|
|
inlinefinalvirtual |
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.
Reimplemented from v8::EmbedderGraph::Node.
Definition at line 67 of file cpp-snapshot.cc.
◆ InternalizeEdgeName()
const char * v8::internal::EmbedderNode::InternalizeEdgeName |
( |
std::string | edge_name | ) |
|
|
inline |
◆ Name()
const char * v8::internal::EmbedderNode::Name |
( |
| ) |
|
|
inlinefinalvirtual |
◆ SetDetachedness()
void v8::internal::EmbedderNode::SetDetachedness |
( |
Detachedness | detachedness | ) |
|
|
inline |
◆ SetWrapperNode()
◆ SizeInBytes()
size_t v8::internal::EmbedderNode::SizeInBytes |
( |
| ) |
|
|
inlinefinalvirtual |
◆ WrapperNode()
Node * v8::internal::EmbedderNode::WrapperNode |
( |
| ) |
|
|
inlinefinalvirtual |
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.
Reimplemented from v8::EmbedderGraph::Node.
Definition at line 62 of file cpp-snapshot.cc.
◆ detachedness_
◆ header_address_
const void* v8::internal::EmbedderNode::header_address_ |
|
private |
◆ name_
const char* v8::internal::EmbedderNode::name_ |
|
private |
◆ named_edges_
std::vector<std::unique_ptr<char[]> > v8::internal::EmbedderNode::named_edges_ |
|
private |
◆ size_
size_t v8::internal::EmbedderNode::size_ |
|
private |
◆ wrapper_node_
Node* v8::internal::EmbedderNode::wrapper_node_ = nullptr |
|
private |
The documentation for this class was generated from the following file: