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

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
Index: runtime/vm/service.cc
===================================================================
--- runtime/vm/service.cc (revision 33794)
+++ runtime/vm/service.cc (working copy)
@@ -915,7 +915,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);
@@ -1413,7 +1414,7 @@
static bool HandleHeapMap(Isolate* isolate, JSONStream* js) {
- isolate->heap()->PrintHeapMapToJSONStream(js);
+ isolate->heap()->PrintHeapMapToJSONStream(isolate, js);
return true;
}
« runtime/vm/class_table.cc ('K') | « 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