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

Unified Diff: runtime/vm/heap.h

Issue 474913004: - Account for number of pending tasks in old-space collections. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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/vm/heap.h
===================================================================
--- runtime/vm/heap.h (revision 39381)
+++ runtime/vm/heap.h (working copy)
@@ -62,6 +62,9 @@
~Heap();
+ Scavenger* new_space() { return new_space_; }
+ PageSpace* old_space() { return old_space_; }
+
uword Allocate(intptr_t size, Space space) {
ASSERT(!read_only_);
switch (space) {

Powered by Google App Engine
This is Rietveld 408576698