| Index: runtime/vm/object.cc
|
| ===================================================================
|
| --- runtime/vm/object.cc (revision 37499)
|
| +++ runtime/vm/object.cc (working copy)
|
| @@ -4063,6 +4063,14 @@
|
| jsobj.AddPropertyF("name", "canonical types of %s", internal_class_name);
|
| jsobj.AddPropertyF("user_name", "canonical types of %s", pretty_class_name);
|
| }
|
| + {
|
| + ClassTable* class_table = Isolate::Current()->class_table();
|
| + const ClassHeapStats* stats = class_table->StatsWithUpdatedSize(id());
|
| + if (stats != NULL) {
|
| + JSONObject allocation_stats(&jsobj, "allocationStats");
|
| + stats->PrintToJSONObject(*this, &allocation_stats);
|
| + }
|
| + }
|
| }
|
|
|
|
|
|
|