#include <heap-snapshot-generator.h>
|
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
, kObjectShape = v8::HeapGraphNode::kObjectShape
, kNumTypes
} |
|
enum | ReferenceVerification { kVerify
, kEphemeron
, kOffHeapPointer
, kCustomWeakPointer
} |
|
|
| HeapEntry (HeapSnapshot *snapshot, int index, Type type, const char *name, SnapshotObjectId id, size_t self_size, unsigned trace_node_id) |
|
HeapSnapshot * | snapshot () |
|
Type | type () const |
|
void | set_type (Type type) |
|
const char * | name () const |
|
void | set_name (const char *name) |
|
SnapshotObjectId | id () const |
|
size_t | self_size () const |
|
void | add_self_size (size_t size) |
|
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 HeapGraphEdge * | child (int i) |
|
V8_INLINE Isolate * | isolate () const |
|
void | set_detachedness (v8::EmbedderGraph::Node::Detachedness value) |
|
uint8_t | detachedness () const |
|
void | VerifyReference (HeapGraphEdge::Type type, HeapEntry *entry, HeapSnapshotGenerator *generator, ReferenceVerification verification) |
|
void | SetIndexedReference (HeapGraphEdge::Type type, int index, HeapEntry *entry, HeapSnapshotGenerator *generator, ReferenceVerification verification=kVerify) |
|
void | SetNamedReference (HeapGraphEdge::Type type, const char *name, HeapEntry *entry, HeapSnapshotGenerator *generator, ReferenceVerification verification=kVerify) |
|
void | SetIndexedAutoIndexReference (HeapGraphEdge::Type type, HeapEntry *child, HeapSnapshotGenerator *generator, ReferenceVerification verification=kVerify) |
|
void | SetNamedAutoIndexReference (HeapGraphEdge::Type type, const char *description, HeapEntry *child, StringsStorage *strings, HeapSnapshotGenerator *generator, ReferenceVerification verification=kVerify) |
|
V8_EXPORT_PRIVATE void | Print (const char *prefix, const char *edge_name, int max_depth, int indent) const |
|
Definition at line 106 of file heap-snapshot-generator.h.
◆ ReferenceVerification
◆ Type
Enumerator |
---|
kHidden | |
kArray | |
kString | |
kObject | |
kCode | |
kClosure | |
kRegExp | |
kHeapNumber | |
kNative | |
kSynthetic | |
kConsString | |
kSlicedString | |
kSymbol | |
kBigInt | |
kObjectShape | |
kNumTypes | |
Definition at line 108 of file heap-snapshot-generator.h.
◆ HeapEntry()
◆ add_child()
◆ add_self_size()
void v8::internal::HeapEntry::add_self_size |
( |
size_t | size | ) |
|
|
inline |
◆ child()
◆ children_begin()
std::vector< HeapGraphEdge * >::iterator v8::internal::HeapEntry::children_begin |
( |
| ) |
const |
|
private |
◆ children_count()
int v8::internal::HeapEntry::children_count |
( |
| ) |
const |
◆ children_end()
std::vector< HeapGraphEdge * >::iterator v8::internal::HeapEntry::children_end |
( |
| ) |
const |
|
private |
◆ detachedness()
uint8_t v8::internal::HeapEntry::detachedness |
( |
| ) |
const |
|
inline |
◆ id()
◆ index()
int v8::internal::HeapEntry::index |
( |
| ) |
const |
|
inline |
◆ isolate()
Isolate * v8::internal::HeapEntry::isolate |
( |
| ) |
const |
◆ name()
const char * v8::internal::HeapEntry::name |
( |
| ) |
const |
|
inline |
◆ Print()
void v8::internal::HeapEntry::Print |
( |
const char * | prefix, |
|
|
const char * | edge_name, |
|
|
int | max_depth, |
|
|
int | indent ) const |
◆ self_size()
size_t v8::internal::HeapEntry::self_size |
( |
| ) |
const |
|
inline |
◆ set_children_index()
int v8::internal::HeapEntry::set_children_index |
( |
int | index | ) |
|
◆ set_detachedness()
◆ set_name()
void v8::internal::HeapEntry::set_name |
( |
const char * | name | ) |
|
|
inline |
◆ set_type()
void v8::internal::HeapEntry::set_type |
( |
Type | type | ) |
|
|
inline |
◆ SetIndexedAutoIndexReference()
◆ SetIndexedReference()
◆ SetNamedAutoIndexReference()
◆ SetNamedReference()
◆ snapshot()
◆ trace_node_id()
unsigned v8::internal::HeapEntry::trace_node_id |
( |
| ) |
const |
|
inline |
◆ type()
Type v8::internal::HeapEntry::type |
( |
| ) |
const |
|
inline |
◆ TypeAsString()
const char * v8::internal::HeapEntry::TypeAsString |
( |
| ) |
const |
|
private |
◆ VerifyReference()
◆ [union]
◆ children_count_
unsigned v8::internal::HeapEntry::children_count_ |
◆ children_end_index_
unsigned v8::internal::HeapEntry::children_end_index_ |
◆ detachedness_
uint8_t v8::internal::HeapEntry::detachedness_ = 0 |
|
private |
◆ id_
◆ index_
unsigned v8::internal::HeapEntry::index_ |
|
private |
◆ name_
const char* v8::internal::HeapEntry::name_ |
|
private |
◆ self_size_
size_t v8::internal::HeapEntry::self_size_ |
|
private |
◆ snapshot_
◆ trace_node_id_
unsigned v8::internal::HeapEntry::trace_node_id_ |
|
private |
◆ type_
unsigned v8::internal::HeapEntry::type_ |
|
private |
The documentation for this class was generated from the following files: