Chromium Code Reviews| Index: runtime/vm/heap.h |
| diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h |
| index 97e04a1280e94fe4449f8e5dae68dae4c40c0d43..6fd1934ef2b9a6b656f63f87b873a68a7d504e42 100644 |
| --- a/runtime/vm/heap.h |
| +++ b/runtime/vm/heap.h |
| @@ -124,6 +124,10 @@ class Heap { |
| return old_space_.NeedsGarbageCollection(); |
| } |
| +#if defined(DEBUG) |
| + void WaitForSweeperTasks(); |
| +#endif |
| + |
| // Enables growth control on the page space heaps. This should be |
| // called before any user code is executed. |
| void InitGrowthControl(); |