Lines Matching defs:root

418   for (int root = 0; root < static_cast<int>(Root::kNumberOfRoots); root++) {
419 AddGcSubrootEntry(static_cast<Root>(root), id);
440 void HeapSnapshot::AddGcSubrootEntry(Root root, SnapshotObjectId id) {
441 DCHECK_NULL(gc_subroot_entries_[static_cast<int>(root)]);
442 gc_subroot_entries_[static_cast<int>(root)] =
443 AddEntry(HeapEntry::kSynthetic, RootVisitor::RootName(root), id, 0, 0);
488 root()->Print("", "", max_depth, 0);
1901 void VisitRootPointer(Root root, const char* description,
1903 if (root == Root::kBuiltins) {
1906 explorer_->SetGcSubrootReference(root, description, visiting_weak_roots_,
1910 void VisitRootPointers(Root root, const char* description,
1914 VisitRootPointer(root, description, p);
1918 void VisitRootPointers(Root root, const char* description,
1921 DCHECK_EQ(root, Root::kStringTable);
1924 explorer_->SetGcSubrootReference(root, description, visiting_weak_roots_,
1966 for (int root = 0; root < static_cast<int>(Root::kNumberOfRoots); root++) {
1967 SetGcRootsReference(static_cast<Root>(root));
2212 snapshot_->root()->SetIndexedAutoIndexReference(
2219 snapshot_->root()->SetNamedAutoIndexReference(
2223 void V8HeapExplorer::SetGcRootsReference(Root root) {
2225 HeapGraphEdge::kElement, snapshot_->gc_subroot(root), generator_);
2228 void V8HeapExplorer::SetGcSubrootReference(Root root, const char* description,
2243 snapshot_->gc_subroot(root)->SetNamedReference(edge_type, name, child_entry,
2246 snapshot_->gc_subroot(root)->SetNamedAutoIndexReference(
2254 // Add a shortcut to JS global object reference at snapshot root.
2273 strong_gc_subroot_names_.emplace(isolate->root(root_index), name);
2315 void VisitRootPointers(Root root, const char* description,
2317 VisitRootPointersImpl(root, description, start, end);
2320 void VisitRootPointers(Root root, const char* description,
2323 VisitRootPointersImpl(root, description, start, end);
2331 void VisitRootPointersImpl(Root root, const char* description, TSlot start,
2564 snapshot_->root()->SetIndexedAutoIndexReference(
2713 DCHECK_EQ(0, snapshot_->root()->index());
2991 SerializeTraceNode(traces->root());