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

Unified Diff: runtime/bin/vmservice/client/lib/src/service/object.dart

Issue 345543003: Send allocation stats with each class and show in class view. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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/bin/vmservice/client/lib/src/elements/class_view.html ('k') | runtime/vm/class_table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/lib/src/service/object.dart
===================================================================
--- runtime/bin/vmservice/client/lib/src/service/object.dart (revision 37499)
+++ runtime/bin/vmservice/client/lib/src/service/object.dart (working copy)
@@ -1109,6 +1109,12 @@
superClass._addToChildren(this);
}
error = map['error'];
+
+ var allocationStats = map['allocationStats'];
+ if (allocationStats != null) {
+ newSpace.update(allocationStats['new']);
+ oldSpace.update(allocationStats['old']);
+ }
}
void _addToChildren(Class cls) {
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/elements/class_view.html ('k') | runtime/vm/class_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698