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

Unified Diff: runtime/vm/pages.cc

Issue 487023003: vmservice protocol cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 4 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/object.cc ('k') | runtime/vm/profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.cc
diff --git a/runtime/vm/pages.cc b/runtime/vm/pages.cc
index 30a74be49b411908d917adf32a826fb11c99f0a2..051ace6b788a1b1983c3b014e5efacd4aa6ebd73 100644
--- a/runtime/vm/pages.cc
+++ b/runtime/vm/pages.cc
@@ -421,10 +421,10 @@ void PageSpace::PrintToJSONObject(JSONObject* object) {
Isolate* isolate = Isolate::Current();
ASSERT(isolate != NULL);
JSONObject space(object, "old");
- space.AddProperty("type", "PageSpace");
+ space.AddProperty("type", "HeapSpace");
space.AddProperty("id", "heaps/old");
- space.AddProperty("name", "PageSpace");
- space.AddProperty("user_name", "old");
+ space.AddProperty("name", "old");
+ space.AddProperty("vmName", "PageSpace");
space.AddProperty("collections", collections());
space.AddProperty("used", UsedInWords() * kWordSize);
space.AddProperty("capacity", CapacityInWords() * kWordSize);
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698