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

Unified Diff: runtime/vm/dart.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
« no previous file with comments | « no previous file | runtime/vm/heap.h » ('j') | runtime/vm/pages.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index 4d3ee11761839536ecbaff51866509c92bcbb945..e44eb38a2aa98dd44c1ac11d9f8c9e74ef0cf68b 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -96,6 +96,7 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
}
SnapshotReader reader(snapshot, isolate);
reader.ReadFullSnapshot();
+ isolate->heap()->EnableGrowthControl();
Ivan Posva 2012/05/29 23:27:37 This means that the growth policy is only active w
cshapiro 2012/05/30 17:56:24 Done.
if (FLAG_trace_isolates) {
isolate->heap()->PrintSizes();
}
« no previous file with comments | « no previous file | runtime/vm/heap.h » ('j') | runtime/vm/pages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698