Home
last modified time | relevance | path

Searched refs:HeapGraphEdge (Results 1 – 6 of 6) sorted by relevance

/external/v8/test/cctest/
Dtest-heap-profiler.cc74 i::Vector<i::HeapGraphEdge*> children = entry->children(); in CheckAllReachables()
76 if (children[i]->type() == i::HeapGraphEdge::kShortcut) continue; in CheckAllReachables()
112 v8::HeapGraphEdge::Type type, in GetProperty()
115 const v8::HeapGraphEdge* prop = node->GetChild(i); in GetProperty()
126 const v8::HeapGraphEdge* prop = node->GetChild(i); in HasString()
148 i::List<i::HeapGraphEdge>& edges = heap_snapshot->edges(); in ValidateSnapshot()
193 GetProperty(global_env2, v8::HeapGraphEdge::kProperty, "a2"); in TEST()
196 NULL, GetProperty(global_env2, v8::HeapGraphEdge::kProperty, "b2_1")); in TEST()
198 NULL, GetProperty(global_env2, v8::HeapGraphEdge::kProperty, "b2_2")); in TEST()
199 CHECK_NE(NULL, GetProperty(global_env2, v8::HeapGraphEdge::kProperty, "c2")); in TEST()
[all …]
/external/v8/src/
Dheap-snapshot-generator.h19 class HeapGraphEdge BASE_EMBEDDED {
22 kContextVariable = v8::HeapGraphEdge::kContextVariable,
23 kElement = v8::HeapGraphEdge::kElement,
24 kProperty = v8::HeapGraphEdge::kProperty,
25 kInternal = v8::HeapGraphEdge::kInternal,
26 kHidden = v8::HeapGraphEdge::kHidden,
27 kShortcut = v8::HeapGraphEdge::kShortcut,
28 kWeak = v8::HeapGraphEdge::kWeak
31 HeapGraphEdge() { } in HeapGraphEdge() function
32 HeapGraphEdge(Type type, const char* name, int from, int to);
[all …]
Dheap-snapshot-generator-inl.h14 HeapEntry* HeapGraphEdge::from() const { in from()
19 HeapSnapshot* HeapGraphEdge::snapshot() const { in snapshot()
37 HeapGraphEdge** HeapEntry::children_arr() { in children_arr()
Dheap-snapshot-generator.cc20 HeapGraphEdge::HeapGraphEdge(Type type, const char* name, int from, int to) in HeapGraphEdge() function in v8::internal::HeapGraphEdge
33 HeapGraphEdge::HeapGraphEdge(Type type, int index, int from, int to) in HeapGraphEdge() function in v8::internal::HeapGraphEdge
42 void HeapGraphEdge::ReplaceToIndexWithEntry(HeapSnapshot* snapshot) { in ReplaceToIndexWithEntry()
65 void HeapEntry::SetNamedReference(HeapGraphEdge::Type type, in SetNamedReference()
68 HeapGraphEdge edge(type, name, this->index(), entry->index()); in SetNamedReference()
74 void HeapEntry::SetIndexedReference(HeapGraphEdge::Type type, in SetIndexedReference()
77 HeapGraphEdge edge(type, index, this->index(), entry->index()); in SetIndexedReference()
103 Vector<HeapGraphEdge*> ch = children(); in Print()
105 HeapGraphEdge& edge = *ch[i]; in Print()
110 case HeapGraphEdge::kContextVariable: in Print()
[all …]
Dapi.cc7187 static i::HeapGraphEdge* ToInternal(const HeapGraphEdge* edge) { in ToInternal()
7188 return const_cast<i::HeapGraphEdge*>( in ToInternal()
7189 reinterpret_cast<const i::HeapGraphEdge*>(edge)); in ToInternal()
7193 HeapGraphEdge::Type HeapGraphEdge::GetType() const { in GetType()
7194 return static_cast<HeapGraphEdge::Type>(ToInternal(this)->type()); in GetType()
7198 Handle<Value> HeapGraphEdge::GetName() const { in GetName()
7200 i::HeapGraphEdge* edge = ToInternal(this); in GetName()
7202 case i::HeapGraphEdge::kContextVariable: in GetName()
7203 case i::HeapGraphEdge::kInternal: in GetName()
7204 case i::HeapGraphEdge::kProperty: in GetName()
[all …]
/external/v8/include/
Dv8-profiler.h183 class V8_EXPORT HeapGraphEdge {
265 const HeapGraphEdge* GetChild(int index) const;