Lines Matching refs:HeapGraphEdge

74       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()
227 GetProperty(global, v8::HeapGraphEdge::kProperty, "x"); in TEST()
230 GetProperty(x, v8::HeapGraphEdge::kProperty, "a"); in TEST()
233 GetProperty(x, v8::HeapGraphEdge::kProperty, "b"); in TEST()
256 GetProperty(global, v8::HeapGraphEdge::kProperty, "boundFunction"); in TEST()
261 GetProperty(f, v8::HeapGraphEdge::kInternal, "bindings"); in TEST()
267 f, v8::HeapGraphEdge::kShortcut, "bound_this"); in TEST()
272 f, v8::HeapGraphEdge::kShortcut, "bound_function"); in TEST()
277 f, v8::HeapGraphEdge::kShortcut, "bound_argument_1"); in TEST()
296 const v8::HeapGraphEdge* prop = global->GetChild(i); in TEST()
300 GetProperty(global, v8::HeapGraphEdge::kProperty, "a"); in TEST()
303 const v8::HeapGraphEdge* prop = a->GetChild(i); in TEST()
325 GetProperty(global, v8::HeapGraphEdge::kProperty, "compiled"); in TEST()
329 GetProperty(global, v8::HeapGraphEdge::kProperty, "lazy"); in TEST()
333 GetProperty(global, v8::HeapGraphEdge::kProperty, "anonymous"); in TEST()
341 GetProperty(compiled, v8::HeapGraphEdge::kInternal, "shared"); in TEST()
344 GetProperty(lazy, v8::HeapGraphEdge::kInternal, "shared"); in TEST()
350 GetProperty(compiled_code, v8::HeapGraphEdge::kInternal, "code"); in TEST()
353 GetProperty(code, v8::HeapGraphEdge::kInternal, "code"); in TEST()
361 const v8::HeapGraphEdge* prop = compiled_code->GetChild(i); in TEST()
371 const v8::HeapGraphEdge* prop = lazy_code->GetChild(i); in TEST()
396 CHECK_EQ(NULL, GetProperty(global, v8::HeapGraphEdge::kProperty, "a")); in TEST()
398 GetProperty(global, v8::HeapGraphEdge::kProperty, "b"); in TEST()
419 GetProperty(global, v8::HeapGraphEdge::kProperty, "parent_string"); in TEST()
422 GetProperty(global, v8::HeapGraphEdge::kProperty, "child_string"); in TEST()
426 GetProperty(child_string, v8::HeapGraphEdge::kInternal, "parent"); in TEST()
458 GetProperty(global_node, v8::HeapGraphEdge::kInternal, "0"); in TEST()
463 GetProperty(string_node, v8::HeapGraphEdge::kInternal, "first"); in TEST()
467 GetProperty(string_node, v8::HeapGraphEdge::kInternal, "second"); in TEST()
485 GetProperty(global, v8::HeapGraphEdge::kProperty, "a"); in TEST()
490 GetProperty(a, v8::HeapGraphEdge::kInternal, "name"); in TEST()
510 GetProperty(global, v8::HeapGraphEdge::kProperty, "k"); in TEST()
513 GetProperty(global, v8::HeapGraphEdge::kProperty, "v"); in TEST()
516 GetProperty(global, v8::HeapGraphEdge::kProperty, "s"); in TEST()
520 GetProperty(global, v8::HeapGraphEdge::kProperty, "ws"); in TEST()
526 GetProperty(ws, v8::HeapGraphEdge::kInternal, "table"); in TEST()
531 const v8::HeapGraphEdge* prop = ws_table->GetChild(i); in TEST()
532 if (prop->GetType() != v8::HeapGraphEdge::kWeak) continue; in TEST()
539 GetProperty(ws, v8::HeapGraphEdge::kProperty, "str"); in TEST()
544 GetProperty(global, v8::HeapGraphEdge::kProperty, "wm"); in TEST()
550 GetProperty(wm, v8::HeapGraphEdge::kInternal, "table"); in TEST()
555 const v8::HeapGraphEdge* prop = wm_table->GetChild(i); in TEST()
556 if (prop->GetType() != v8::HeapGraphEdge::kWeak) continue; in TEST()
564 GetProperty(wm, v8::HeapGraphEdge::kProperty, "str"); in TEST()
584 GetProperty(global, v8::HeapGraphEdge::kProperty, "k"); in TEST()
587 GetProperty(global, v8::HeapGraphEdge::kProperty, "v"); in TEST()
590 GetProperty(global, v8::HeapGraphEdge::kProperty, "s"); in TEST()
594 GetProperty(global, v8::HeapGraphEdge::kProperty, "set"); in TEST()
600 GetProperty(set, v8::HeapGraphEdge::kInternal, "table"); in TEST()
605 const v8::HeapGraphEdge* prop = set_table->GetChild(i); in TEST()
613 GetProperty(set, v8::HeapGraphEdge::kProperty, "str"); in TEST()
618 GetProperty(global, v8::HeapGraphEdge::kProperty, "map"); in TEST()
624 GetProperty(map, v8::HeapGraphEdge::kInternal, "table"); in TEST()
629 const v8::HeapGraphEdge* prop = map_table->GetChild(i); in TEST()
637 GetProperty(map, v8::HeapGraphEdge::kProperty, "str"); in TEST()
662 CHECK_EQ(NULL, GetProperty(global_node, v8::HeapGraphEdge::kInternal, "0")); in TEST()
664 CHECK_NE(NULL, GetProperty(global_node, v8::HeapGraphEdge::kInternal, "1")); in TEST()
702 GetProperty(global2, v8::HeapGraphEdge::kProperty, "a"); in TEST()
706 const v8::HeapGraphEdge* prop = array_node->GetChild(i); in TEST()
707 if (prop->GetType() != v8::HeapGraphEdge::kElement) in TEST()
750 GetProperty(global1, v8::HeapGraphEdge::kProperty, "a"); in TEST()
753 GetProperty(a1, v8::HeapGraphEdge::kInternal, "elements"); in TEST()
756 GetProperty(global2, v8::HeapGraphEdge::kProperty, "a"); in TEST()
759 GetProperty(a2, v8::HeapGraphEdge::kInternal, "elements"); in TEST()
798 GetProperty(global1, v8::HeapGraphEdge::kProperty, "A"); in TEST()
801 GetProperty(global2, v8::HeapGraphEdge::kProperty, "A"); in TEST()
806 GetProperty(global1, v8::HeapGraphEdge::kProperty, "B"); in TEST()
809 GetProperty(global2, v8::HeapGraphEdge::kProperty, "B"); in TEST()
814 GetProperty(global1, v8::HeapGraphEdge::kProperty, "a"); in TEST()
817 GetProperty(global2, v8::HeapGraphEdge::kProperty, "a"); in TEST()
822 GetProperty(global1, v8::HeapGraphEdge::kProperty, "b"); in TEST()
825 GetProperty(global2, v8::HeapGraphEdge::kProperty, "b"); in TEST()
1271 const v8::HeapGraphEdge* prop = node->GetChild(i); in CheckChildrenIds()
1306 GetProperty(global, v8::HeapGraphEdge::kProperty, "globalObject"); in TEST()
1521 CHECK_EQ(aaa, GetProperty(n_AAA, v8::HeapGraphEdge::kInternal, "native")); in TEST()
1522 CHECK_EQ(aaa, GetProperty(n_BBB, v8::HeapGraphEdge::kInternal, "native")); in TEST()
1523 CHECK_EQ(ccc, GetProperty(n_CCC, v8::HeapGraphEdge::kInternal, "native")); in TEST()
1584 global_object, v8::HeapGraphEdge::kProperty, "root_object"); in TEST()
1588 obj0, v8::HeapGraphEdge::kInternal, "native"); in TEST()
1592 const v8::HeapGraphEdge* prop = obj1->GetChild(i); in TEST()
1594 if (prop->GetType() == v8::HeapGraphEdge::kInternal && in TEST()
1717 GetProperty(global, v8::HeapGraphEdge::kInternal, "builtins"); in TEST()
1720 GetProperty(global, v8::HeapGraphEdge::kInternal, "native_context"); in TEST()
1723 GetProperty(global, v8::HeapGraphEdge::kInternal, "global_context"); in TEST()
1726 GetProperty(global, v8::HeapGraphEdge::kInternal, "global_proxy"); in TEST()
1782 global, v8::HeapGraphEdge::kProperty, "a"); in TEST()
1787 GetProperty(obj, v8::HeapGraphEdge::kProperty, "s_prop"); in TEST()
1792 GetProperty(obj, v8::HeapGraphEdge::kProperty, "n_prop"); in TEST()
1813 global, v8::HeapGraphEdge::kProperty, "a"); in TEST()
1815 obj, v8::HeapGraphEdge::kProperty, "p"); in TEST()
1906 GetProperty(global, v8::HeapGraphEdge::kProperty, "obj1"); in TEST()
1909 func = GetProperty(obj1, v8::HeapGraphEdge::kProperty, "get propWithGetter"); in TEST()
1911 func = GetProperty(obj1, v8::HeapGraphEdge::kProperty, "set propWithGetter"); in TEST()
1913 func = GetProperty(obj1, v8::HeapGraphEdge::kProperty, "set propWithSetter"); in TEST()
1915 func = GetProperty(obj1, v8::HeapGraphEdge::kProperty, "get propWithSetter"); in TEST()
1940 GetProperty(global, v8::HeapGraphEdge::kProperty, "obj1"); in TEST()
1943 func = GetProperty(obj1, v8::HeapGraphEdge::kProperty, "get propWithGetter"); in TEST()
1945 func = GetProperty(obj1, v8::HeapGraphEdge::kProperty, "set propWithGetter"); in TEST()
1947 func = GetProperty(obj1, v8::HeapGraphEdge::kProperty, "set propWithSetter"); in TEST()
1949 func = GetProperty(obj1, v8::HeapGraphEdge::kProperty, "get propWithSetter"); in TEST()
1967 GetProperty(global, v8::HeapGraphEdge::kProperty, "c"); in TEST()
1970 GetProperty(c, v8::HeapGraphEdge::kInternal, "hidden_properties"); in TEST()
1982 c = GetProperty(global, v8::HeapGraphEdge::kProperty, "c"); in TEST()
1984 hidden_props = GetProperty(c, v8::HeapGraphEdge::kInternal, in TEST()
2001 GetProperty(global, v8::HeapGraphEdge::kProperty, "foo"); in TEST()
2004 GetProperty(foo, v8::HeapGraphEdge::kInternal, "map"); in TEST()
2007 GetProperty(map, v8::HeapGraphEdge::kInternal, "descriptors"); in TEST()
2010 GetProperty(descriptors, v8::HeapGraphEdge::kInternal, "2"); in TEST()
2014 GetProperty(descriptors, v8::HeapGraphEdge::kInternal, "4"); in TEST()
2019 GetProperty(length_accessor, v8::HeapGraphEdge::kInternal, "name"); in TEST()
2022 GetProperty(length_accessor, v8::HeapGraphEdge::kInternal, "getter"); in TEST()
2025 GetProperty(length_accessor, v8::HeapGraphEdge::kInternal, "setter"); in TEST()
2032 const v8::HeapGraphEdge* handle_edge = node->GetChild(i); in HasWeakEdge()
2033 if (handle_edge->GetType() == v8::HeapGraphEdge::kWeak) return true; in HasWeakEdge()
2089 GetProperty(global, v8::HeapGraphEdge::kProperty, "fun"); in TEST()
2092 GetProperty(fun, v8::HeapGraphEdge::kInternal, "shared"); in TEST()
2110 const v8::HeapGraphEdge* edge = root->GetChild(i); in TEST()
2111 if (edge->GetType() == v8::HeapGraphEdge::kShortcut) { in TEST()
2115 GetProperty(global, v8::HeapGraphEdge::kProperty, "foo"); in TEST()
2139 const v8::HeapGraphEdge* edge = strong_roots->GetChild(i); in TEST()
2140 CHECK_EQ(v8::HeapGraphEdge::kInternal, edge->GetType()); in TEST()
2157 GetProperty(global, v8::HeapGraphEdge::kProperty, "global_object"); in TEST()
2160 GetProperty(global_object, v8::HeapGraphEdge::kInternal, "properties"); in TEST()
2163 GetProperty(global_object, v8::HeapGraphEdge::kInternal, "elements"); in TEST()
2178 GetProperty(global, v8::HeapGraphEdge::kProperty, "obj"); in TEST()
2182 GetProperty(global_object, v8::HeapGraphEdge::kInternal, "map"); in TEST()
2185 map, v8::HeapGraphEdge::kInternal, "descriptors"); in TEST()
2188 map, v8::HeapGraphEdge::kInternal, "transitions"); in TEST()
2219 GetProperty(global, v8::HeapGraphEdge::kProperty, "ok"); in TEST()
2222 GetProperty(ok_object, v8::HeapGraphEdge::kInternal, "context"); in TEST()
2233 context_object, v8::HeapGraphEdge::kContextVariable, var_name.start()); in TEST()
2254 GetProperty(global, v8::HeapGraphEdge::kProperty, "fun"); in TEST()
2257 GetProperty(fun_code, v8::HeapGraphEdge::kInternal, "literals"); in TEST()
2264 const v8::HeapGraphEdge* prop = literals->GetChild(1); in TEST()
2269 GetProperty(allocation_site, v8::HeapGraphEdge::kInternal, in TEST()
2274 GetProperty(transition_info, v8::HeapGraphEdge::kInternal, in TEST()
2306 GetProperty(global, v8::HeapGraphEdge::kProperty, "foo"); in TEST()
2309 GetProperty(foo_func, v8::HeapGraphEdge::kInternal, "code"); in TEST()
2321 const v8::HeapGraphEdge* edge = node->GetChild(i); in GetNodeByPath()
2610 GetProperty(global, v8::HeapGraphEdge::kProperty, "arr1"); in TEST()
2613 GetProperty(arr1_obj, v8::HeapGraphEdge::kInternal, "buffer"); in TEST()
2616 GetProperty(arr1_buffer, v8::HeapGraphEdge::kWeak, "weak_first_view"); in TEST()
2619 GetProperty(arr1_buffer, v8::HeapGraphEdge::kInternal, "backing_store"); in TEST()
2669 GetProperty(global, v8::HeapGraphEdge::kProperty, "ab1"); in TEST()
2672 GetProperty(ab1_node, v8::HeapGraphEdge::kInternal, "backing_store"); in TEST()
2675 GetProperty(global, v8::HeapGraphEdge::kProperty, "ab2"); in TEST()
2678 GetProperty(ab2_node, v8::HeapGraphEdge::kInternal, "backing_store"); in TEST()
2704 GetProperty(global_node, v8::HeapGraphEdge::kElement, "0"); in TEST()
2709 GetProperty(box_node, v8::HeapGraphEdge::kInternal, "value"); in TEST()
2732 GetProperty(global, v8::HeapGraphEdge::kProperty, "obj"); in TEST()
2735 GetProperty(obj, v8::HeapGraphEdge::kInternal, "map"); in TEST()
2738 GetProperty(map, v8::HeapGraphEdge::kInternal, "dependent_code"); in TEST()
2743 const v8::HeapGraphEdge* prop = dependent_code->GetChild(i); in TEST()
2744 CHECK_EQ(v8::HeapGraphEdge::kWeak, prop->GetType()); in TEST()