![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <heap-snapshot-generator.h>
Public Types | |
enum | Type { kContextVariable = v8::HeapGraphEdge::kContextVariable , kElement = v8::HeapGraphEdge::kElement , kProperty = v8::HeapGraphEdge::kProperty , kInternal = v8::HeapGraphEdge::kInternal , kHidden = v8::HeapGraphEdge::kHidden , kShortcut = v8::HeapGraphEdge::kShortcut , kWeak = v8::HeapGraphEdge::kWeak } |
Public Member Functions | |
HeapGraphEdge (Type type, const char *name, HeapEntry *from, HeapEntry *to) | |
HeapGraphEdge (Type type, int index, HeapEntry *from, HeapEntry *to) | |
Type | type () const |
int | index () const |
const char * | name () const |
V8_INLINE HeapEntry * | from () const |
HeapEntry * | to () const |
V8_INLINE Isolate * | isolate () const |
Private Types | |
using | TypeField = base::BitField<Type, 0, 3> |
using | FromIndexField = base::BitField<int, 3, 29> |
Private Member Functions | |
V8_INLINE HeapSnapshot * | snapshot () const |
int | from_index () const |
Private Attributes | ||
uint32_t | bit_field_ | |
HeapEntry * | to_entry_ | |
union { | ||
int index_ | ||
const char * name_ | ||
}; | ||
Definition at line 59 of file heap-snapshot-generator.h.
|
private |
Definition at line 94 of file heap-snapshot-generator.h.
|
private |
Definition at line 93 of file heap-snapshot-generator.h.
Enumerator | |
---|---|
kContextVariable | |
kElement | |
kProperty | |
kInternal | |
kHidden | |
kShortcut | |
kWeak |
Definition at line 61 of file heap-snapshot-generator.h.
v8::internal::HeapGraphEdge::HeapGraphEdge | ( | Type | type, |
const char * | name, | ||
HeapEntry * | from, | ||
HeapEntry * | to ) |
Definition at line 209 of file heap-snapshot-generator.cc.
v8::internal::HeapGraphEdge::HeapGraphEdge | ( | Type | type, |
int | index, | ||
HeapEntry * | from, | ||
HeapEntry * | to ) |
Definition at line 219 of file heap-snapshot-generator.cc.
HeapEntry * v8::internal::HeapGraphEdge::from | ( | ) | const |
Definition at line 17 of file heap-snapshot-generator-inl.h.
|
inlineprivate |
Definition at line 91 of file heap-snapshot-generator.h.
|
inline |
Definition at line 75 of file heap-snapshot-generator.h.
Isolate * v8::internal::HeapGraphEdge::isolate | ( | ) | const |
Definition at line 21 of file heap-snapshot-generator-inl.h.
|
inline |
Definition at line 79 of file heap-snapshot-generator.h.
|
private |
Definition at line 23 of file heap-snapshot-generator-inl.h.
|
inline |
Definition at line 85 of file heap-snapshot-generator.h.
|
inline |
Definition at line 74 of file heap-snapshot-generator.h.
union { ... } v8::internal::HeapGraphEdge |
|
private |
Definition at line 95 of file heap-snapshot-generator.h.
int v8::internal::HeapGraphEdge::index_ |
Definition at line 98 of file heap-snapshot-generator.h.
const char* v8::internal::HeapGraphEdge::name_ |
Definition at line 99 of file heap-snapshot-generator.h.
|
private |
Definition at line 96 of file heap-snapshot-generator.h.