Lines Matching refs:heap_profiler

173   v8::HeapProfiler* heap_profiler = env2->GetIsolate()->GetHeapProfiler();  in TEST()  local
182 const v8::HeapSnapshot* snapshot_env2 = heap_profiler->TakeHeapSnapshot(); in TEST()
206 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
215 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
238 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
243 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
276 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
281 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
301 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
308 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
376 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
380 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
394 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
405 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
418 heap_profiler->DeleteAllHeapSnapshots(); in TEST()
441 v8::HeapProfiler* heap_profiler = isolate->GetHeapProfiler(); in TEST() local
442 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
459 heap_profiler->DeleteAllHeapSnapshots(); in TEST()
466 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
469 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
488 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in CheckSimdSnapshot() local
491 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in CheckSimdSnapshot()
518 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
524 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
591 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
597 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
673 v8::HeapProfiler* heap_profiler = isolate->GetHeapProfiler(); in TEST() local
674 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
687 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
694 const v8::HeapSnapshot* snapshot1 = heap_profiler->TakeHeapSnapshot(); in TEST()
703 const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot(); in TEST()
726 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
736 const v8::HeapSnapshot* snapshot1 = heap_profiler->TakeHeapSnapshot(); in TEST()
745 const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot(); in TEST()
774 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
781 const v8::HeapSnapshot* snapshot1 = heap_profiler->TakeHeapSnapshot(); in TEST()
786 const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot(); in TEST()
835 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
836 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
895 v8::HeapProfiler* heap_profiler = isolate->GetHeapProfiler(); in TEST() local
904 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1022 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1023 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1090 v8::HeapProfiler* heap_profiler, in GetHeapStatsUpdate() argument
1095 heap_profiler->GetHeapStats(&stream, &timestamp); in GetHeapStatsUpdate()
1107 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1109 heap_profiler->StartTrackingHeapObjects(); in TEST()
1119 TestStatsStream stats_update = GetHeapStatsUpdate(heap_profiler, in TEST()
1129 CHECK_EQ(0, GetHeapStatsUpdate(heap_profiler, &same_id).updates_written()); in TEST()
1138 TestStatsStream stats_update = GetHeapStatsUpdate(heap_profiler, in TEST()
1150 CHECK_EQ(0, GetHeapStatsUpdate(heap_profiler, &last_id).updates_written()); in TEST()
1165 TestStatsStream stats_update = GetHeapStatsUpdate(heap_profiler); in TEST()
1176 TestStatsStream stats_update = GetHeapStatsUpdate(heap_profiler); in TEST()
1188 TestStatsStream stats_update = GetHeapStatsUpdate(heap_profiler); in TEST()
1199 TestStatsStream stats_update = GetHeapStatsUpdate(heap_profiler); in TEST()
1216 TestStatsStream stats_update = GetHeapStatsUpdate(heap_profiler); in TEST()
1230 TestStatsStream stats_update = GetHeapStatsUpdate(heap_profiler); in TEST()
1240 heap_profiler->StopTrackingHeapObjects(); in TEST()
1248 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1254 heap_profiler->StartTrackingHeapObjects(false); in TEST()
1259 GetHeapStatsUpdate(heap_profiler); in TEST()
1262 v8::SnapshotObjectId id = heap_profiler->GetObjectId(objects[i]); in TEST()
1267 heap_profiler->StopTrackingHeapObjects(); in TEST()
1271 v8::SnapshotObjectId id = heap_profiler->GetObjectId(objects[i]); in TEST()
1273 v8::Local<v8::Value> obj = heap_profiler->FindObjectById(ids[i]); in TEST()
1277 heap_profiler->ClearObjectIds(); in TEST()
1279 v8::SnapshotObjectId id = heap_profiler->GetObjectId(objects[i]); in TEST()
1281 v8::Local<v8::Value> obj = heap_profiler->FindObjectById(ids[i]); in TEST()
1306 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1308 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1320 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1322 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1334 v8::SnapshotObjectId id = heap_profiler->GetObjectId(globalObjectHandle); in TEST()
1343 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1345 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1380 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1381 const int snapshots_count = heap_profiler->GetSnapshotCount(); in TEST()
1384 heap_profiler->TakeHeapSnapshot(&aborting_control); in TEST()
1386 CHECK_EQ(snapshots_count, heap_profiler->GetSnapshotCount()); in TEST()
1390 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(&control); in TEST()
1394 CHECK_EQ(snapshots_count + 1, heap_profiler->GetSnapshotCount()); in TEST()
1489 v8::HeapProfiler* heap_profiler = isolate->GetHeapProfiler(); in TEST() local
1491 heap_profiler->SetWrapperClassInfoProvider( in TEST()
1493 heap_profiler->SetWrapperClassInfoProvider( in TEST()
1502 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1593 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1598 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1627 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1629 CHECK_EQ(0, heap_profiler->GetSnapshotCount()); in TEST()
1630 heap_profiler->DeleteAllHeapSnapshots(); in TEST()
1631 CHECK_EQ(0, heap_profiler->GetSnapshotCount()); in TEST()
1632 CHECK(heap_profiler->TakeHeapSnapshot()); in TEST()
1633 CHECK_EQ(1, heap_profiler->GetSnapshotCount()); in TEST()
1634 heap_profiler->DeleteAllHeapSnapshots(); in TEST()
1635 CHECK_EQ(0, heap_profiler->GetSnapshotCount()); in TEST()
1636 CHECK(heap_profiler->TakeHeapSnapshot()); in TEST()
1637 CHECK(heap_profiler->TakeHeapSnapshot()); in TEST()
1638 CHECK_EQ(2, heap_profiler->GetSnapshotCount()); in TEST()
1639 heap_profiler->DeleteAllHeapSnapshots(); in TEST()
1640 CHECK_EQ(0, heap_profiler->GetSnapshotCount()); in TEST()
1657 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1659 CHECK_EQ(0, heap_profiler->GetSnapshotCount()); in TEST()
1660 const v8::HeapSnapshot* s1 = heap_profiler->TakeHeapSnapshot(); in TEST()
1663 CHECK_EQ(1, heap_profiler->GetSnapshotCount()); in TEST()
1664 CHECK(FindHeapSnapshot(heap_profiler, s1)); in TEST()
1666 CHECK_EQ(0, heap_profiler->GetSnapshotCount()); in TEST()
1667 CHECK(!FindHeapSnapshot(heap_profiler, s1)); in TEST()
1669 const v8::HeapSnapshot* s2 = heap_profiler->TakeHeapSnapshot(); in TEST()
1671 CHECK_EQ(1, heap_profiler->GetSnapshotCount()); in TEST()
1672 CHECK(FindHeapSnapshot(heap_profiler, s2)); in TEST()
1673 const v8::HeapSnapshot* s3 = heap_profiler->TakeHeapSnapshot(); in TEST()
1675 CHECK_EQ(2, heap_profiler->GetSnapshotCount()); in TEST()
1677 CHECK(FindHeapSnapshot(heap_profiler, s3)); in TEST()
1679 CHECK_EQ(1, heap_profiler->GetSnapshotCount()); in TEST()
1680 CHECK(!FindHeapSnapshot(heap_profiler, s2)); in TEST()
1681 CHECK(FindHeapSnapshot(heap_profiler, s3)); in TEST()
1683 CHECK_EQ(0, heap_profiler->GetSnapshotCount()); in TEST()
1684 CHECK(!FindHeapSnapshot(heap_profiler, s3)); in TEST()
1699 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1705 heap_profiler->TakeHeapSnapshot(NULL, &name_resolver); in TEST()
1719 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1721 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1736 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1742 heap_profiler->TakeHeapSnapshot(); in TEST()
1751 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1752 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1770 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1773 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1776 CHECK(heap_profiler->FindObjectById(global->GetId())->IsObject()); in TEST()
1779 CHECK(js_global == heap_profiler->FindObjectById(global->GetId())); in TEST()
1782 CHECK(heap_profiler->FindObjectById(obj->GetId())->IsObject()); in TEST()
1786 CHECK(js_obj == heap_profiler->FindObjectById(obj->GetId())); in TEST()
1792 CHECK(js_s_prop == heap_profiler->FindObjectById(s_prop->GetId())); in TEST()
1798 CHECK(js_n_prop == heap_profiler->FindObjectById(n_prop->GetId())); in TEST()
1805 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1811 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1822 CHECK(heap_profiler->FindObjectById(prop->GetId())->IsObject()); in TEST()
1825 CHECK(heap_profiler->FindObjectById(prop->GetId()).IsEmpty()); in TEST()
1906 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1915 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1938 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1962 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
1980 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
1990 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2014 v8::HeapProfiler* heap_profiler = isolate->GetHeapProfiler(); in TEST() local
2019 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2039 snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2052 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2055 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2099 v8::HeapProfiler* heap_profiler = isolate->GetHeapProfiler(); in HasWeakGlobalHandle() local
2100 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in HasWeakGlobalHandle()
2136 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2140 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2156 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2160 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2181 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2184 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2204 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2206 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2224 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2226 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2248 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2264 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2294 v8::HeapProfiler* heap_profiler = isolate->GetHeapProfiler(); in TEST() local
2298 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2332 heap_profiler->FindObjectById(transition_info->GetId()); in TEST()
2358 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2360 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2399 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2401 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2494 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2495 heap_profiler->StartTrackingHeapObjects(true); in TEST()
2506 reinterpret_cast<i::HeapProfiler*>(heap_profiler)->allocation_tracker(); in TEST()
2518 heap_profiler->StopTrackingHeapObjects(); in TEST()
2526 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2527 heap_profiler->StartTrackingHeapObjects(true); in TEST()
2532 reinterpret_cast<i::HeapProfiler*>(heap_profiler)->allocation_tracker(); in TEST()
2545 heap_profiler->StopTrackingHeapObjects(); in TEST()
2574 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2578 heap_profiler->StartTrackingHeapObjects(true); in TEST()
2583 reinterpret_cast<i::HeapProfiler*>(heap_profiler)->allocation_tracker(); in TEST()
2595 heap_profiler->StopTrackingHeapObjects(); in TEST()
2599 heap_profiler->StartTrackingHeapObjects(true); in TEST()
2609 reinterpret_cast<i::HeapProfiler*>(heap_profiler)->allocation_tracker(); in TEST()
2622 heap_profiler->StopTrackingHeapObjects(); in TEST()
2631 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2633 heap_profiler->StartTrackingHeapObjects(true); in TEST()
2639 reinterpret_cast<i::HeapProfiler*>(heap_profiler)->allocation_tracker(); in TEST()
2651 heap_profiler->StopTrackingHeapObjects(); in TEST()
2658 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2660 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2695 v8::HeapProfiler* heap_profiler = isolate->GetHeapProfiler(); in TEST() local
2715 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2748 v8::HeapProfiler* heap_profiler = isolate->GetHeapProfiler(); in TEST() local
2749 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()
2768 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); in TEST() local
2776 const v8::HeapSnapshot* snapshot = heap_profiler->TakeHeapSnapshot(); in TEST()