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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/heap_profile.dart

Issue 196603009: Correct capacity reporting for new space; show external size in Observatory. (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/bin/vmservice/client/lib/src/elements/heap_profile.dart
===================================================================
--- runtime/bin/vmservice/client/lib/src/elements/heap_profile.dart (revision 33596)
+++ runtime/bin/vmservice/client/lib/src/elements/heap_profile.dart (working copy)
@@ -133,10 +133,12 @@
var heap = profile['heaps']['new'];
_newPieDataTable.addRow(['Used', heap['used']]);
_newPieDataTable.addRow(['Free', heap['capacity'] - heap['used']]);
+ _newPieDataTable.addRow(['External', heap['external']]);
_oldPieDataTable.clearRows();
heap = profile['heaps']['old'];
_oldPieDataTable.addRow(['Used', heap['used']]);
_oldPieDataTable.addRow(['Free', heap['capacity'] - heap['used']]);
+ _oldPieDataTable.addRow(['External', heap['external']]);
_draw();
}
« no previous file with comments | « runtime/bin/vmservice/client/deployed/web/index_devtools.html_bootstrap.dart.js ('k') | runtime/vm/scavenger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698