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

Unified Diff: runtime/vm/heap.h

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: address review comments 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 | « runtime/vm/dart.cc ('k') | runtime/vm/heap.cc » ('j') | runtime/vm/pages.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 9face5cba011b4df32cea7ec73505c45d348a100..88c0e04de79edab79dff0b3828455a24728d652c 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -100,6 +100,10 @@ class Heap {
void CollectGarbage(Space space, ApiCallbacks api_callbacks);
void CollectAllGarbage();
+ // Enables growth control on the page space heaps. This should be
+ // called before any user code is executed.
+ void EnableGrowthControl();
+
// Accessors for inlined allocation in generated code.
uword TopAddress();
uword EndAddress();
@@ -125,7 +129,6 @@ class Heap {
Scavenger* new_space_;
PageSpace* old_space_;
PageSpace* code_space_;
- PageSpace* stub_code_space_;
DISALLOW_COPY_AND_ASSIGN(Heap);
};
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/heap.cc » ('j') | runtime/vm/pages.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698