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