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

Unified Diff: runtime/vm/heap.h

Issue 11363226: Fail new space promotions only when old space is truly exhausted. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | runtime/vm/scavenger.cc » ('j') | runtime/vm/scavenger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index fb4e92799a2426e08f45b599b209bafa1b64627a..80ae58cba0b15fe86b460792b78428654dd97f57 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -165,6 +165,8 @@ class Heap {
// Returns the number of objects with a peer.
int64_t PeerCount() const;
+ PageSpace* old_space() { return old_space_; }
+
private:
Heap();
« no previous file with comments | « no previous file | runtime/vm/scavenger.cc » ('j') | runtime/vm/scavenger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698