| Index: runtime/vm/service.cc
|
| diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
|
| index 3cbf8fc24a693d5eaa0a8d2dc16e6c80589293b5..9ea1c512dfe2ebd1a30bfe9c065ebe9d468243ec 100644
|
| --- a/runtime/vm/service.cc
|
| +++ b/runtime/vm/service.cc
|
| @@ -2339,6 +2339,7 @@ static bool GetInstances(Thread* thread, JSONStream* js) {
|
| Array& storage = Array::Handle(Array::New(limit));
|
| GetInstancesVisitor visitor(cls, storage);
|
| ObjectGraph graph(thread);
|
| + HeapIterationScope iteration_scope(true);
|
| graph.IterateObjects(&visitor);
|
| intptr_t count = visitor.count();
|
| JSONObject jsobj(js);
|
|
|