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

Unified Diff: vm/heap.cc

Issue 10414069: - Add more information to --verbose-gc. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 7 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 | « no previous file | vm/pages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/heap.cc
===================================================================
--- vm/heap.cc (revision 7887)
+++ vm/heap.cc (working copy)
@@ -203,10 +203,12 @@
void Heap::PrintSizes() const {
- OS::PrintErr("New space (%dk) Old space (%dk) Code space (%dk)\n",
- (new_space_->in_use() / KB),
- (old_space_->in_use() / KB),
- (code_space_->in_use() / KB));
+ OS::PrintErr("New space (%dk of %dk) "
+ "Old space (%dk of %dk) "
+ "Code space (%dk of %dk)\n",
+ (new_space_->in_use() / KB), (new_space_->capacity() / KB),
+ (old_space_->in_use() / KB), (old_space_->capacity() / KB),
+ (code_space_->in_use() / KB), (code_space_->capacity() / KB));
}
« no previous file with comments | « no previous file | vm/pages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698