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

Unified Diff: runtime/vm/heap.cc

Issue 1771503002: Ensure that calls to EnableGrowthControl/DisableGrowthControl does not reset the last_usage_ value … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/heap.h ('k') | runtime/vm/pages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index 8950958a85c12192cd229059c13bb24e7eae927d..c5b593e66014874277077296e8d81e8cdba2ac7b 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -491,6 +491,11 @@ void Heap::UpdateGlobalMaxUsed() {
}
+void Heap::InitGrowthControl() {
+ old_space_.InitGrowthControl();
+}
+
+
void Heap::SetGrowthControlState(bool state) {
old_space_.SetGrowthControlState(state);
}
« no previous file with comments | « runtime/vm/heap.h ('k') | runtime/vm/pages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698