| Index: runtime/vm/service.cc
|
| ===================================================================
|
| --- runtime/vm/service.cc (revision 33596)
|
| +++ runtime/vm/service.cc (working copy)
|
| @@ -1271,6 +1271,12 @@
|
| }
|
|
|
|
|
| +static bool HandleHeapMap(Isolate* isolate, JSONStream* js) {
|
| + isolate->heap()->PrintHeapMapToJSONStream(js);
|
| + return true;
|
| +}
|
| +
|
| +
|
| static IsolateMessageHandlerEntry isolate_handlers[] = {
|
| { "_echo", HandleIsolateEcho },
|
| { "", HandleIsolate },
|
| @@ -1280,6 +1286,7 @@
|
| { "coverage", HandleCoverage },
|
| { "cpu", HandleCpu },
|
| { "debug", HandleDebug },
|
| + { "heapmap", HandleHeapMap },
|
| { "libraries", HandleLibraries },
|
| { "objects", HandleObjects },
|
| { "profile", HandleProfile },
|
|
|