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

Unified Diff: runtime/vm/heap.cc

Issue 10442073: Implement growth policy for old space using time and space signals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index 1a4df3c328eb4f54527af2524f8d398937bea608..c4311e09533170947d6f64e35eca0d2551ecb5f4 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -176,6 +176,11 @@ void Heap::CollectAllGarbage() {
}
+void Heap::EnableGrowthControl() {
+ old_space_->EnableGrowthControl();
+}
+
+
uword Heap::TopAddress() {
return reinterpret_cast<uword>(new_space_->TopAddress());
}

Powered by Google App Engine
This is Rietveld 408576698