Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Unified Diff: runtime/observatory/tests/service/graph_test.dart

Issue 2502283003: Add a version of heap snapshots that use only fields and stack frames as roots and only include ins… (Closed)
Patch Set: . Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/tests/service/graph_test.dart
diff --git a/runtime/observatory/tests/service/graph_test.dart b/runtime/observatory/tests/service/graph_test.dart
index 85556baf97f4ea6e2dd2c3ad5464248cf49d66fc..61d14f5218125bc88c899b96e99c967be653eca4 100644
--- a/runtime/observatory/tests/service/graph_test.dart
+++ b/runtime/observatory/tests/service/graph_test.dart
@@ -43,7 +43,7 @@ var tests = [
Class fooClass = lib.classes.first;
fooId = fooClass.vmCid;
- RawHeapSnapshot raw = await isolate.fetchHeapSnapshot(false).last;
+ RawHeapSnapshot raw = await isolate.fetchHeapSnapshot("VM", false).last;
Cutch 2016/11/18 20:40:31 ditto
HeapSnapshot snapshot = new HeapSnapshot();
await snapshot.loadProgress(isolate, raw).last;
ObjectGraph graph = snapshot.graph;

Powered by Google App Engine
This is Rietveld 408576698