| Index: runtime/bin/vmservice/observatory/lib/src/service/object.dart
|
| ===================================================================
|
| --- runtime/bin/vmservice/observatory/lib/src/service/object.dart (revision 39414)
|
| +++ runtime/bin/vmservice/observatory/lib/src/service/object.dart (working copy)
|
| @@ -1296,6 +1296,7 @@
|
|
|
| final Allocations newSpace = new Allocations();
|
| final Allocations oldSpace = new Allocations();
|
| + final AllocationCount promotedByLastNewGC = new AllocationCount();
|
|
|
| bool get hasNoAllocations => newSpace.empty && oldSpace.empty;
|
|
|
| @@ -1368,6 +1369,8 @@
|
| if (allocationStats != null) {
|
| newSpace.update(allocationStats['new']);
|
| oldSpace.update(allocationStats['old']);
|
| + promotedByLastNewGC.instances = allocationStats['promotedInstances'];
|
| + promotedByLastNewGC.bytes = allocationStats['promotedBytes'];
|
| }
|
| }
|
|
|
|
|