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

Unified Diff: vm/scavenger.h

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 | « vm/pages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/scavenger.h
===================================================================
--- vm/scavenger.h (revision 7887)
+++ vm/scavenger.h (working copy)
@@ -69,6 +69,7 @@
static intptr_t end_offset() { return OFFSET_OF(Scavenger, end_); }
intptr_t in_use() const { return (top_ - FirstObjectStart()); }
+ intptr_t capacity() const { return space_->size(); }
void VisitObjectPointers(ObjectPointerVisitor* visitor) const;
« no previous file with comments | « vm/pages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698