Lines Matching refs:HeapGraphNode
99 static const v8::HeapGraphNode* GetGlobalObject( in GetGlobalObject()
103 const v8::HeapGraphNode* global_obj = in GetGlobalObject()
111 static const v8::HeapGraphNode* GetProperty(const v8::HeapGraphNode* node, in GetProperty()
124 static bool HasString(const v8::HeapGraphNode* node, const char* contents) { in HasString()
127 const v8::HeapGraphNode* node = prop->GetToNode(); in HasString()
128 if (node->GetType() == v8::HeapGraphNode::kString) { in HasString()
189 const v8::HeapGraphNode* global_env2 = GetGlobalObject(snapshot_env2); in TEST()
192 const v8::HeapGraphNode* a2_node = in TEST()
225 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
226 const v8::HeapGraphNode* x = in TEST()
229 const v8::HeapGraphNode* x1 = in TEST()
232 const v8::HeapGraphNode* x2 = in TEST()
254 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
255 const v8::HeapGraphNode* f = in TEST()
260 const v8::HeapGraphNode* bindings = in TEST()
263 CHECK_EQ(v8::HeapGraphNode::kArray, bindings->GetType()); in TEST()
266 const v8::HeapGraphNode* bound_this = GetProperty( in TEST()
269 CHECK_EQ(v8::HeapGraphNode::kObject, bound_this->GetType()); in TEST()
271 const v8::HeapGraphNode* bound_function = GetProperty( in TEST()
274 CHECK_EQ(v8::HeapGraphNode::kClosure, bound_function->GetType()); in TEST()
276 const v8::HeapGraphNode* bound_argument = GetProperty( in TEST()
279 CHECK_EQ(v8::HeapGraphNode::kObject, bound_argument->GetType()); in TEST()
294 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
299 const v8::HeapGraphNode* a = in TEST()
323 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
324 const v8::HeapGraphNode* compiled = in TEST()
327 CHECK_EQ(v8::HeapGraphNode::kClosure, compiled->GetType()); in TEST()
328 const v8::HeapGraphNode* lazy = in TEST()
331 CHECK_EQ(v8::HeapGraphNode::kClosure, lazy->GetType()); in TEST()
332 const v8::HeapGraphNode* anonymous = in TEST()
335 CHECK_EQ(v8::HeapGraphNode::kClosure, anonymous->GetType()); in TEST()
340 const v8::HeapGraphNode* compiled_code = in TEST()
343 const v8::HeapGraphNode* lazy_code = in TEST()
349 const v8::HeapGraphNode* code = in TEST()
352 const v8::HeapGraphNode* next_code_link = in TEST()
362 const v8::HeapGraphNode* node = prop->GetToNode(); in TEST()
363 if (node->GetType() == v8::HeapGraphNode::kArray) { in TEST()
372 const v8::HeapGraphNode* node = prop->GetToNode(); in TEST()
373 if (node->GetType() == v8::HeapGraphNode::kArray) { in TEST()
395 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
397 const v8::HeapGraphNode* b = in TEST()
400 CHECK_EQ(v8::HeapGraphNode::kHeapNumber, b->GetType()); in TEST()
417 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
418 const v8::HeapGraphNode* parent_string = in TEST()
421 const v8::HeapGraphNode* child_string = in TEST()
424 CHECK_EQ(v8::HeapGraphNode::kSlicedString, child_string->GetType()); in TEST()
425 const v8::HeapGraphNode* parent = in TEST()
455 const v8::HeapGraphNode* global_node = GetGlobalObject(snapshot); in TEST()
457 const v8::HeapGraphNode* string_node = in TEST()
460 CHECK_EQ(v8::HeapGraphNode::kConsString, string_node->GetType()); in TEST()
462 const v8::HeapGraphNode* first_node = in TEST()
464 CHECK_EQ(v8::HeapGraphNode::kString, first_node->GetType()); in TEST()
466 const v8::HeapGraphNode* second_node = in TEST()
468 CHECK_EQ(v8::HeapGraphNode::kString, second_node->GetType()); in TEST()
483 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
484 const v8::HeapGraphNode* a = in TEST()
487 CHECK_EQ(a->GetType(), v8::HeapGraphNode::kSymbol); in TEST()
489 const v8::HeapGraphNode* name = in TEST()
508 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
509 const v8::HeapGraphNode* k = in TEST()
512 const v8::HeapGraphNode* v = in TEST()
515 const v8::HeapGraphNode* s = in TEST()
519 const v8::HeapGraphNode* ws = in TEST()
522 CHECK_EQ(v8::HeapGraphNode::kObject, ws->GetType()); in TEST()
525 const v8::HeapGraphNode* ws_table = in TEST()
527 CHECK_EQ(v8::HeapGraphNode::kArray, ws_table->GetType()); in TEST()
538 const v8::HeapGraphNode* ws_s = in TEST()
543 const v8::HeapGraphNode* wm = in TEST()
546 CHECK_EQ(v8::HeapGraphNode::kObject, wm->GetType()); in TEST()
549 const v8::HeapGraphNode* wm_table = in TEST()
551 CHECK_EQ(v8::HeapGraphNode::kArray, wm_table->GetType()); in TEST()
563 const v8::HeapGraphNode* wm_s = in TEST()
582 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
583 const v8::HeapGraphNode* k = in TEST()
586 const v8::HeapGraphNode* v = in TEST()
589 const v8::HeapGraphNode* s = in TEST()
593 const v8::HeapGraphNode* set = in TEST()
596 CHECK_EQ(v8::HeapGraphNode::kObject, set->GetType()); in TEST()
599 const v8::HeapGraphNode* set_table = in TEST()
601 CHECK_EQ(v8::HeapGraphNode::kArray, set_table->GetType()); in TEST()
612 const v8::HeapGraphNode* set_s = in TEST()
617 const v8::HeapGraphNode* map = in TEST()
620 CHECK_EQ(v8::HeapGraphNode::kObject, map->GetType()); in TEST()
623 const v8::HeapGraphNode* map_table = in TEST()
625 CHECK_EQ(v8::HeapGraphNode::kArray, map_table->GetType()); in TEST()
636 const v8::HeapGraphNode* map_s = in TEST()
660 const v8::HeapGraphNode* global_node = GetGlobalObject(snapshot); in TEST()
699 const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2); in TEST()
701 const v8::HeapGraphNode* array_node = in TEST()
744 const v8::HeapGraphNode* global1 = GetGlobalObject(snapshot1); in TEST()
745 const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2); in TEST()
749 const v8::HeapGraphNode* a1 = in TEST()
752 const v8::HeapGraphNode* k1 = in TEST()
755 const v8::HeapGraphNode* a2 = in TEST()
758 const v8::HeapGraphNode* k2 = in TEST()
793 const v8::HeapGraphNode* global1 = GetGlobalObject(snapshot1); in TEST()
794 const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2); in TEST()
797 const v8::HeapGraphNode* A1 = in TEST()
800 const v8::HeapGraphNode* A2 = in TEST()
805 const v8::HeapGraphNode* B1 = in TEST()
808 const v8::HeapGraphNode* B2 = in TEST()
813 const v8::HeapGraphNode* a1 = in TEST()
816 const v8::HeapGraphNode* a2 = in TEST()
821 const v8::HeapGraphNode* b1 = in TEST()
824 const v8::HeapGraphNode* b2 = in TEST()
839 const v8::HeapGraphNode* root1 = snapshot->GetRoot(); in TEST()
842 const v8::HeapGraphNode* root2 = snapshot->GetRoot(); in TEST()
1266 const v8::HeapGraphNode* node, in CheckChildrenIds()
1272 const v8::HeapGraphNode* child = in CheckChildrenIds()
1289 const v8::HeapGraphNode* root = snapshot->GetRoot(); in TEST()
1304 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
1305 const v8::HeapGraphNode* global_object = in TEST()
1329 const v8::HeapGraphNode* node = in TEST()
1453 static const v8::HeapGraphNode* GetNode(const v8::HeapGraphNode* parent, in GetNode()
1454 v8::HeapGraphNode::Type type, in GetNode()
1457 const v8::HeapGraphNode* node = parent->GetChild(i)->GetToNode(); in GetNode()
1495 const v8::HeapGraphNode* native_group_aaa = GetNode( in TEST()
1496 snapshot->GetRoot(), v8::HeapGraphNode::kSynthetic, "aaa-group"); in TEST()
1499 const v8::HeapGraphNode* aaa = GetNode( in TEST()
1500 native_group_aaa, v8::HeapGraphNode::kNative, "aaa / 100 entries"); in TEST()
1504 const v8::HeapGraphNode* native_group_ccc = GetNode( in TEST()
1505 snapshot->GetRoot(), v8::HeapGraphNode::kSynthetic, "ccc-group"); in TEST()
1506 const v8::HeapGraphNode* ccc = GetNode( in TEST()
1507 native_group_ccc, v8::HeapGraphNode::kNative, "ccc"); in TEST()
1510 const v8::HeapGraphNode* n_AAA = GetNode( in TEST()
1511 aaa, v8::HeapGraphNode::kString, "AAA"); in TEST()
1513 const v8::HeapGraphNode* n_BBB = GetNode( in TEST()
1514 aaa, v8::HeapGraphNode::kString, "BBB"); in TEST()
1517 const v8::HeapGraphNode* n_CCC = GetNode( in TEST()
1518 ccc, v8::HeapGraphNode::kString, "CCC"); in TEST()
1582 const v8::HeapGraphNode* global_object = GetGlobalObject(snapshot); in TEST()
1583 const v8::HeapGraphNode* obj0 = GetProperty( in TEST()
1586 CHECK_EQ(v8::HeapGraphNode::kObject, obj0->GetType()); in TEST()
1587 const v8::HeapGraphNode* obj1 = GetProperty( in TEST()
1699 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
1715 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
1716 const v8::HeapGraphNode* builtins = in TEST()
1719 const v8::HeapGraphNode* native_context = in TEST()
1722 const v8::HeapGraphNode* global_context = in TEST()
1725 const v8::HeapGraphNode* global_proxy = in TEST()
1754 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
1776 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
1781 const v8::HeapGraphNode* obj = GetProperty( in TEST()
1786 const v8::HeapGraphNode* s_prop = in TEST()
1791 const v8::HeapGraphNode* n_prop = in TEST()
1811 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
1812 const v8::HeapGraphNode* obj = GetProperty( in TEST()
1814 const v8::HeapGraphNode* prop = GetProperty( in TEST()
1903 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
1905 const v8::HeapGraphNode* obj1 = in TEST()
1908 const v8::HeapGraphNode* func; in TEST()
1937 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
1939 const v8::HeapGraphNode* obj1 = in TEST()
1942 const v8::HeapGraphNode* func; in TEST()
1965 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
1966 const v8::HeapGraphNode* c = in TEST()
1969 const v8::HeapGraphNode* hidden_props = in TEST()
1999 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2000 const v8::HeapGraphNode* foo = in TEST()
2003 const v8::HeapGraphNode* map = in TEST()
2006 const v8::HeapGraphNode* descriptors = in TEST()
2009 const v8::HeapGraphNode* length_name = in TEST()
2013 const v8::HeapGraphNode* length_accessor = in TEST()
2018 const v8::HeapGraphNode* name = in TEST()
2021 const v8::HeapGraphNode* getter = in TEST()
2024 const v8::HeapGraphNode* setter = in TEST()
2030 bool HasWeakEdge(const v8::HeapGraphNode* node) { in HasWeakEdge()
2045 const v8::HeapGraphNode* gc_roots = GetNode( in HasWeakGlobalHandle()
2046 snapshot->GetRoot(), v8::HeapGraphNode::kSynthetic, "(GC roots)"); in HasWeakGlobalHandle()
2048 const v8::HeapGraphNode* global_handles = GetNode( in HasWeakGlobalHandle()
2049 gc_roots, v8::HeapGraphNode::kSynthetic, "(Global handles)"); in HasWeakGlobalHandle()
2086 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2088 const v8::HeapGraphNode* fun = in TEST()
2091 const v8::HeapGraphNode* shared = in TEST()
2107 const v8::HeapGraphNode* root = snapshot->GetRoot(); in TEST()
2113 const v8::HeapGraphNode* global = edge->GetToNode(); in TEST()
2114 const v8::HeapGraphNode* foo = in TEST()
2132 const v8::HeapGraphNode* gc_roots = GetNode( in TEST()
2133 snapshot->GetRoot(), v8::HeapGraphNode::kSynthetic, "(GC roots)"); in TEST()
2135 const v8::HeapGraphNode* strong_roots = GetNode( in TEST()
2136 gc_roots, v8::HeapGraphNode::kSynthetic, "(Strong roots)"); in TEST()
2155 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2156 const v8::HeapGraphNode* global_object = in TEST()
2159 const v8::HeapGraphNode* properties = in TEST()
2162 const v8::HeapGraphNode* elements = in TEST()
2176 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2177 const v8::HeapGraphNode* global_object = in TEST()
2181 const v8::HeapGraphNode* map = in TEST()
2184 const v8::HeapGraphNode* own_descriptors = GetProperty( in TEST()
2187 const v8::HeapGraphNode* own_transitions = GetProperty( in TEST()
2216 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2218 const v8::HeapGraphNode* ok_object = in TEST()
2221 const v8::HeapGraphNode* context_object = in TEST()
2232 const v8::HeapGraphNode* f_object = GetProperty( in TEST()
2251 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2253 const v8::HeapGraphNode* fun_code = in TEST()
2256 const v8::HeapGraphNode* literals = in TEST()
2259 CHECK_EQ(v8::HeapGraphNode::kArray, literals->GetType()); in TEST()
2265 const v8::HeapGraphNode* allocation_site = prop->GetToNode(); in TEST()
2268 const v8::HeapGraphNode* transition_info = in TEST()
2273 const v8::HeapGraphNode* elements = in TEST()
2277 CHECK_EQ(v8::HeapGraphNode::kArray, elements->GetType()); in TEST()
2304 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2305 const v8::HeapGraphNode* foo_func = in TEST()
2308 const v8::HeapGraphNode* code = in TEST()
2314 static const v8::HeapGraphNode* GetNodeByPath(const v8::HeapSnapshot* snapshot, in GetNodeByPath()
2317 const v8::HeapGraphNode* node = snapshot->GetRoot(); in GetNodeByPath()
2322 const v8::HeapGraphNode* to_node = edge->GetToNode(); in GetNodeByPath()
2353 const v8::HeapGraphNode* node = GetNodeByPath(snapshot, in TEST()
2608 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2609 const v8::HeapGraphNode* arr1_obj = in TEST()
2612 const v8::HeapGraphNode* arr1_buffer = in TEST()
2615 const v8::HeapGraphNode* first_view = in TEST()
2618 const v8::HeapGraphNode* backing_store = in TEST()
2626 const v8::HeapGraphNode* node) { in GetRetainersCount()
2629 const v8::HeapGraphNode* parent = snapshot->GetNode(i); in GetRetainersCount()
2667 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2668 const v8::HeapGraphNode* ab1_node = in TEST()
2671 const v8::HeapGraphNode* ab1_data = in TEST()
2674 const v8::HeapGraphNode* ab2_node = in TEST()
2677 const v8::HeapGraphNode* ab2_data = in TEST()
2702 const v8::HeapGraphNode* global_node = GetGlobalObject(snapshot); in TEST()
2703 const v8::HeapGraphNode* box_node = in TEST()
2708 const v8::HeapGraphNode* box_value = in TEST()
2730 const v8::HeapGraphNode* global = GetGlobalObject(snapshot); in TEST()
2731 const v8::HeapGraphNode* obj = in TEST()
2734 const v8::HeapGraphNode* map = in TEST()
2737 const v8::HeapGraphNode* dependent_code = in TEST()