Lines Matching refs:HeapGraphEdge

37 HeapGraphEdge::HeapGraphEdge(Type type, const char* name, int from, int to)  in HeapGraphEdge()  function in v8::internal::HeapGraphEdge
49 HeapGraphEdge::HeapGraphEdge(Type type, int index, int from, int to) in HeapGraphEdge() function in v8::internal::HeapGraphEdge
57 void HeapGraphEdge::ReplaceToIndexWithEntry(HeapSnapshot* snapshot) { in ReplaceToIndexWithEntry()
80 void HeapEntry::SetNamedReference(HeapGraphEdge::Type type, in SetNamedReference()
83 HeapGraphEdge edge(type, name, this->index(), entry->index()); in SetNamedReference()
89 void HeapEntry::SetIndexedReference(HeapGraphEdge::Type type, in SetIndexedReference()
92 HeapGraphEdge edge(type, index, this->index(), entry->index()); in SetIndexedReference()
119 HeapGraphEdge& edge = **i; in Print()
124 case HeapGraphEdge::kContextVariable: in Print()
128 case HeapGraphEdge::kElement: in Print()
131 case HeapGraphEdge::kInternal: in Print()
135 case HeapGraphEdge::kProperty: in Print()
138 case HeapGraphEdge::kHidden: in Print()
142 case HeapGraphEdge::kShortcut: in Print()
146 case HeapGraphEdge::kWeak: in Print()
187 STATIC_ASSERT(((kPointerSize == 4) && (sizeof(HeapGraphEdge) == 12)) || in HeapSnapshot()
188 ((kPointerSize == 8) && (sizeof(HeapGraphEdge) == 24))); in HeapSnapshot()
275 for (HeapGraphEdge& edge : edges()) { in FillChildren()
759 void SetIndexedReference(HeapGraphEdge::Type type, in SetIndexedReference()
766 void SetIndexedAutoIndexReference(HeapGraphEdge::Type type, in SetIndexedAutoIndexReference()
773 void SetNamedReference(HeapGraphEdge::Type type, in SetNamedReference()
780 void SetNamedAutoIndexReference(HeapGraphEdge::Type type, int parent, in SetNamedAutoIndexReference()
1089 HeapGraphEdge::kInternal, key_entry_index, edge_name, value_entry); in ExtractEphemeronHashTableReferences()
1374 filler_->SetNamedReference(HeapGraphEdge::kInternal, in ExtractJSArrayBufferReferences()
1695 filler_->SetNamedReference(HeapGraphEdge::kContextVariable, parent_entry, in SetContextReference()
1715 filler_->SetNamedReference(HeapGraphEdge::kShortcut, parent_entry, in SetNativeBindReference()
1727 filler_->SetIndexedReference(HeapGraphEdge::kElement, parent_entry, index, in SetElementReference()
1741 filler_->SetNamedReference(HeapGraphEdge::kInternal, in SetInternalReference()
1759 filler_->SetNamedReference(HeapGraphEdge::kInternal, in SetInternalReference()
1774 filler_->SetIndexedReference(HeapGraphEdge::kHidden, parent_entry, index, in SetHiddenReference()
1789 filler_->SetNamedReference(HeapGraphEdge::kWeak, in SetWeakReference()
1807 filler_->SetNamedReference(HeapGraphEdge::kWeak, in SetWeakReference()
1838 HeapGraphEdge::Type type = in SetPropertyReference()
1840 ? HeapGraphEdge::kProperty in SetPropertyReference()
1841 : HeapGraphEdge::kInternal; in SetPropertyReference()
1857 HeapGraphEdge::kElement, in SetRootGcRootsReference()
1865 filler_->SetNamedAutoIndexReference(HeapGraphEdge::kShortcut, in SetUserGlobalReference()
1871 filler_->SetIndexedAutoIndexReference(HeapGraphEdge::kElement, in SetGcRootsReference()
1881 HeapGraphEdge::Type edge_type = in SetGcSubrootReference()
1882 is_weak ? HeapGraphEdge::kWeak : HeapGraphEdge::kInternal; in SetGcSubrootReference()
2264 filler_->SetNamedReference(HeapGraphEdge::kInternal, parent_entry, "native", in FillEdges()
2313 HeapGraphEdge::kElement, snapshot_->root()->index(), in IterateAndExtractReferences()
2338 filler_->SetIndexedAutoIndexReference(HeapGraphEdge::kElement, in IterateAndExtractReferences()
2341 filler_->SetNamedReference(HeapGraphEdge::kInternal, from_index, in IterateAndExtractReferences()
2388 HeapGraphEdge::kInternal, group_entry->index(), nullptr, child_entry); in SetNativeRootReference()
2399 filler_->SetNamedReference(HeapGraphEdge::kInternal, in SetWrapperNativeReferences()
2403 filler_->SetIndexedAutoIndexReference(HeapGraphEdge::kElement, in SetWrapperNativeReferences()
2416 HeapGraphEdge::kElement, in SetRootNativeRootsReference()
2745 void HeapSnapshotJSONSerializer::SerializeEdge(HeapGraphEdge* edge, in SerializeEdge()
2751 int edge_name_or_index = edge->type() == HeapGraphEdge::kElement in SerializeEdge()
2752 || edge->type() == HeapGraphEdge::kHidden in SerializeEdge()
2770 std::deque<HeapGraphEdge*>& edges = snapshot_->children(); in SerializeEdges()