Chromium Code Reviews| 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(); |
| } |