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

Unified Diff: runtime/vm/service.cc

Issue 204103009: Add class and address information to heap map; display on hover. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 months 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
« no previous file with comments | « runtime/vm/pages.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.cc
===================================================================
--- runtime/vm/service.cc (revision 34193)
+++ runtime/vm/service.cc (working copy)
@@ -965,7 +965,8 @@
static bool HandleClasses(Isolate* isolate, JSONStream* js) {
if (js->num_arguments() == 1) {
ClassTable* table = isolate->class_table();
- table->PrintToJSONStream(js);
+ JSONObject jsobj(js);
+ table->PrintToJSONObject(&jsobj);
return true;
}
ASSERT(js->num_arguments() >= 2);
@@ -1533,7 +1534,7 @@
static bool HandleHeapMap(Isolate* isolate, JSONStream* js) {
- isolate->heap()->PrintHeapMapToJSONStream(js);
+ isolate->heap()->PrintHeapMapToJSONStream(isolate, js);
return true;
}
« no previous file with comments | « runtime/vm/pages.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698