| Index: runtime/vm/service.cc
|
| diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
|
| index 66c7abec3ac3f98a02ec7d45f701cbc9db47a488..3353228e860062b857f37fb48ecf4f20621393a8 100644
|
| --- a/runtime/vm/service.cc
|
| +++ b/runtime/vm/service.cc
|
| @@ -3802,11 +3802,7 @@ void Service::PrintJSONForVM(JSONStream* js, bool ref) {
|
| jsobj.AddProperty64("_maxRSS", OS::MaxRSS());
|
| jsobj.AddPropertyTimeMillis(
|
| "startTime", OS::GetCurrentTimeMillis() - Dart::UptimeMillis());
|
| - if (MallocHooks::Initialized()) {
|
| - jsobj.AddProperty("_heapAllocatedMemoryUsage",
|
| - MallocHooks::heap_allocated_memory_in_bytes());
|
| - jsobj.AddProperty("_heapAllocationCount", MallocHooks::allocation_count());
|
| - }
|
| + MallocHooks::PrintToJSONObject(&jsobj);
|
| // Construct the isolate list.
|
| {
|
| JSONArray jsarr(&jsobj, "isolates");
|
|
|