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

Unified Diff: runtime/vm/scavenger.h

Issue 225023011: Revert r34736 due to slowdown. (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
« no previous file with comments | « runtime/vm/pages.cc ('k') | runtime/vm/spaces.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scavenger.h
===================================================================
--- runtime/vm/scavenger.h (revision 34740)
+++ runtime/vm/scavenger.h (working copy)
@@ -10,7 +10,6 @@
#include "vm/flags.h"
#include "vm/globals.h"
#include "vm/raw_object.h"
-#include "vm/spaces.h"
#include "vm/virtual_memory.h"
#include "vm/visitor.h"
@@ -82,13 +81,6 @@
intptr_t ExternalInWords() const {
return external_size_ >> kWordSizeLog2;
}
- SpaceUsage GetCurrentUsage() const {
- SpaceUsage usage;
- usage.used_in_words = UsedInWords();
- usage.capacity_in_words = CapacityInWords();
- usage.external_in_words = ExternalInWords();
- return usage;
- }
void VisitObjects(ObjectVisitor* visitor) const;
void VisitObjectPointers(ObjectPointerVisitor* visitor) const;
« no previous file with comments | « runtime/vm/pages.cc ('k') | runtime/vm/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698