Lines Matching refs:HeapGraphNode
55 static const v8::HeapGraphNode* GetGlobalObject(
58 const v8::HeapGraphNode* global_obj =
66 static const v8::HeapGraphNode* GetProperty(const v8::HeapGraphNode* node,
79 static bool HasString(const v8::HeapGraphNode* node, const char* contents) {
82 const v8::HeapGraphNode* node = prop->GetToNode();
83 if (node->GetType() == v8::HeapGraphNode::kString) {
108 const v8::HeapGraphNode* global_env2 = GetGlobalObject(snapshot_env2);
111 const v8::HeapGraphNode* a2_node =
143 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
144 const v8::HeapGraphNode* x =
147 const v8::HeapGraphNode* x1 =
150 const v8::HeapGraphNode* x2 =
170 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
171 const v8::HeapGraphNode* f =
175 const v8::HeapGraphNode* bindings =
178 CHECK_EQ(v8::HeapGraphNode::kArray, bindings->GetType());
181 const v8::HeapGraphNode* bound_this = GetProperty(
184 CHECK_EQ(v8::HeapGraphNode::kObject, bound_this->GetType());
186 const v8::HeapGraphNode* bound_function = GetProperty(
189 CHECK_EQ(v8::HeapGraphNode::kClosure, bound_function->GetType());
191 const v8::HeapGraphNode* bound_argument = GetProperty(
194 CHECK_EQ(v8::HeapGraphNode::kObject, bound_argument->GetType());
207 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
212 const v8::HeapGraphNode* a =
234 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
235 const v8::HeapGraphNode* compiled =
238 CHECK_EQ(v8::HeapGraphNode::kClosure, compiled->GetType());
239 const v8::HeapGraphNode* lazy =
242 CHECK_EQ(v8::HeapGraphNode::kClosure, lazy->GetType());
243 const v8::HeapGraphNode* anonymous =
246 CHECK_EQ(v8::HeapGraphNode::kClosure, anonymous->GetType());
251 const v8::HeapGraphNode* compiled_code =
254 const v8::HeapGraphNode* lazy_code =
264 const v8::HeapGraphNode* node = prop->GetToNode();
265 if (node->GetType() == v8::HeapGraphNode::kArray) {
274 const v8::HeapGraphNode* node = prop->GetToNode();
275 if (node->GetType() == v8::HeapGraphNode::kArray) {
295 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
297 const v8::HeapGraphNode* b =
300 CHECK_EQ(v8::HeapGraphNode::kHeapNumber, b->GetType());
314 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
315 const v8::HeapGraphNode* parent_string =
318 const v8::HeapGraphNode* child_string =
321 const v8::HeapGraphNode* parent =
339 const v8::HeapGraphNode* global_node = GetGlobalObject(snapshot);
379 const v8::HeapGraphNode* global1 = GetGlobalObject(snapshot1);
380 const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2);
384 const v8::HeapGraphNode* a1 =
387 const v8::HeapGraphNode* e1 =
390 const v8::HeapGraphNode* k1 =
393 const v8::HeapGraphNode* a2 =
396 const v8::HeapGraphNode* e2 =
399 const v8::HeapGraphNode* k2 =
425 const v8::HeapGraphNode* global1 = GetGlobalObject(snapshot1);
426 const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2);
429 const v8::HeapGraphNode* A1 =
432 const v8::HeapGraphNode* A2 =
437 const v8::HeapGraphNode* B1 =
440 const v8::HeapGraphNode* B2 =
445 const v8::HeapGraphNode* a1 =
448 const v8::HeapGraphNode* a2 =
453 const v8::HeapGraphNode* b1 =
456 const v8::HeapGraphNode* b2 =
469 const v8::HeapGraphNode* root1 = snapshot->GetRoot();
472 const v8::HeapGraphNode* root2 = snapshot->GetRoot();
508 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
510 const v8::HeapGraphNode* node6 =
513 const v8::HeapGraphNode* node5 =
516 const v8::HeapGraphNode* node4 =
519 const v8::HeapGraphNode* node3 =
522 const v8::HeapGraphNode* node2 =
525 const v8::HeapGraphNode* node1 =
690 const v8::HeapGraphNode* node,
696 const v8::HeapGraphNode* child =
711 const v8::HeapGraphNode* root = snapshot->GetRoot();
835 static const v8::HeapGraphNode* GetNode(const v8::HeapGraphNode* parent,
836 v8::HeapGraphNode::Type type,
839 const v8::HeapGraphNode* node = parent->GetChild(i)->GetToNode();
877 const v8::HeapGraphNode* native_group_aaa = GetNode(
878 snapshot->GetRoot(), v8::HeapGraphNode::kSynthetic, "aaa-group");
881 const v8::HeapGraphNode* aaa = GetNode(
882 native_group_aaa, v8::HeapGraphNode::kNative, "aaa / 100 entries");
886 const v8::HeapGraphNode* native_group_ccc = GetNode(
887 snapshot->GetRoot(), v8::HeapGraphNode::kSynthetic, "ccc-group");
888 const v8::HeapGraphNode* ccc = GetNode(
889 native_group_ccc, v8::HeapGraphNode::kNative, "ccc");
892 const v8::HeapGraphNode* n_AAA = GetNode(
893 aaa, v8::HeapGraphNode::kString, "AAA");
895 const v8::HeapGraphNode* n_BBB = GetNode(
896 aaa, v8::HeapGraphNode::kString, "BBB");
899 const v8::HeapGraphNode* n_CCC = GetNode(
900 ccc, v8::HeapGraphNode::kString, "CCC");
955 const v8::HeapGraphNode* global_object = GetGlobalObject(snapshot);
957 const v8::HeapGraphNode* obj0 = GetProperty(
960 CHECK_EQ(v8::HeapGraphNode::kObject, obj0->GetType());
961 const v8::HeapGraphNode* obj1 = GetProperty(
1044 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
1060 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
1078 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
1105 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
1125 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
1130 const v8::HeapGraphNode* obj = GetProperty(
1135 const v8::HeapGraphNode* s_prop =
1140 const v8::HeapGraphNode* n_prop =
1158 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
1159 const v8::HeapGraphNode* obj = GetProperty(
1161 const v8::HeapGraphNode* prop = GetProperty(
1244 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
1246 const v8::HeapGraphNode* obj1 =
1249 const v8::HeapGraphNode* getterFunction =
1252 const v8::HeapGraphNode* setterFunction =
1258 bool HasWeakEdge(const v8::HeapGraphNode* node) {
1270 const v8::HeapGraphNode* gc_roots = GetNode(
1271 snapshot->GetRoot(), v8::HeapGraphNode::kObject, "(GC roots)");
1273 const v8::HeapGraphNode* global_handles = GetNode(
1274 gc_roots, v8::HeapGraphNode::kObject, "(Global handles)");
1305 const v8::HeapGraphNode* gc_roots = GetNode(
1306 snapshot->GetRoot(), v8::HeapGraphNode::kObject, "(GC roots)");
1308 const v8::HeapGraphNode* global_handles = GetNode(
1309 gc_roots, v8::HeapGraphNode::kObject, "(Global handles)");
1311 const v8::HeapGraphNode* global_context = GetNode(
1312 global_handles, v8::HeapGraphNode::kHidden, "system / GlobalContext");
1326 const v8::HeapGraphNode* global = GetGlobalObject(snapshot);
1328 const v8::HeapGraphNode* fun =
1331 const v8::HeapGraphNode* shared =