| Index: runtime/vm/object_graph.cc
|
| diff --git a/runtime/vm/object_graph.cc b/runtime/vm/object_graph.cc
|
| index ae3678abf7b67dd4e21f3eb0af31c10f051fdb37..e716ce37cf08a6761cd0a111f8486cd33164b694 100644
|
| --- a/runtime/vm/object_graph.cc
|
| +++ b/runtime/vm/object_graph.cc
|
| @@ -613,7 +613,7 @@ intptr_t ObjectGraph::Serialize(WriteStream* stream,
|
| isolate()->heap()->CollectAllGarbage();
|
| }
|
| // Current encoding assumes objects do not move, so promote everything to old.
|
| - isolate()->heap()->new_space()->Evacuate();
|
| + isolate()->heap()->new_space()->Evacuate(isolate()->mutator_thread());
|
| HeapIterationScope iteration_scope(true);
|
|
|
| RawObject* kRootAddress = reinterpret_cast<RawObject*>(kHeapObjectTag);
|
|
|