| Index: runtime/vm/dart_api_state.cc
|
| diff --git a/runtime/vm/dart_api_state.cc b/runtime/vm/dart_api_state.cc
|
| index ed6ac3ed19e2671b5fc6fcd46e12ff721ce4da2c..6d0967d026a073d5f620ef1e2e7e925cbcb03c46 100644
|
| --- a/runtime/vm/dart_api_state.cc
|
| +++ b/runtime/vm/dart_api_state.cc
|
| @@ -22,7 +22,6 @@ BackgroundFinalizer::BackgroundFinalizer(Isolate* isolate,
|
| PageSpace* old_space = isolate->heap()->old_space();
|
| MonitorLocker ml(old_space->tasks_lock());
|
| old_space->set_tasks(old_space->tasks() + 1);
|
| - ml.Notify();
|
| }
|
|
|
|
|
| @@ -49,7 +48,7 @@ void BackgroundFinalizer::Run() {
|
| PageSpace* old_space = isolate_->heap()->old_space();
|
| MonitorLocker ml(old_space->tasks_lock());
|
| old_space->set_tasks(old_space->tasks() - 1);
|
| - ml.Notify();
|
| + ml.NotifyAll();
|
| }
|
| }
|
|
|
|
|