Chromium Code Reviews| Index: runtime/vm/isolate.cc |
| diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
| index 8304532470999c81ea515843ad6496c8348db0f3..6812ee9c92fb9147aa4be1293bf4f1a18cd7e50a 100644 |
| --- a/runtime/vm/isolate.cc |
| +++ b/runtime/vm/isolate.cc |
| @@ -2044,6 +2044,12 @@ void Isolate::PrintJSON(JSONStream* stream, bool ref) { |
| jsobj.AddProperty("rootLib", lib); |
| } |
| + intptr_t zone_handle_count = thread_registry_->CountZoneHandles(); |
| + intptr_t scoped_handle_count = thread_registry_->CountScopedHandles(); |
| + |
| + jsobj.AddProperty("numZoneHandles", zone_handle_count); |
|
Cutch
2017/01/03 18:16:49
_numZoneHandles and _numScopedHandles.
bkonyi
2017/01/03 20:00:10
Done.
|
| + jsobj.AddProperty("numScopedHandles", scoped_handle_count); |
| + |
| if (FLAG_profiler) { |
| JSONObject tagCounters(&jsobj, "_tagCounters"); |
| vm_tag_counters()->PrintToJSONObject(&tagCounters); |