| Index: runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart
|
| diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart
|
| index 7b13ef0e0773b48ea2784d56f6afd4719bdbe2ae..7e90a5cc818f1a4f4e0a3f77b5d8a9666fc9439d 100644
|
| --- a/runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart
|
| +++ b/runtime/observatory/tests/observatory_ui/mocks/objects/allocation_profile.dart
|
| @@ -11,13 +11,14 @@ class AllocationProfileMock implements M.AllocationProfile {
|
| final M.HeapSpace oldSpace;
|
| final Iterable<M.ClassHeapStats> members;
|
|
|
| - const AllocationProfileMock({this.lastServiceGC, this.lastAccumulatorReset,
|
| - this.newSpace: const HeapSpaceMock(),
|
| - this.oldSpace: const HeapSpaceMock(),
|
| - this.members: const []});
|
| + const AllocationProfileMock(
|
| + {this.lastServiceGC,
|
| + this.lastAccumulatorReset,
|
| + this.newSpace: const HeapSpaceMock(),
|
| + this.oldSpace: const HeapSpaceMock(),
|
| + this.members: const []});
|
| }
|
|
|
| -
|
| class ClassHeapStatsMock implements M.ClassHeapStats {
|
| final M.ClassRef clazz;
|
| final M.Allocations newSpace;
|
| @@ -25,18 +26,21 @@ class ClassHeapStatsMock implements M.ClassHeapStats {
|
| final int promotedInstances;
|
| final int promotedBytes;
|
|
|
| - const ClassHeapStatsMock({this.clazz: const ClassRefMock(),
|
| - this.newSpace: const AllocationsMock(),
|
| - this.oldSpace: const AllocationsMock(),
|
| - this.promotedInstances: 0, this.promotedBytes: 0});
|
| + const ClassHeapStatsMock(
|
| + {this.clazz: const ClassRefMock(),
|
| + this.newSpace: const AllocationsMock(),
|
| + this.oldSpace: const AllocationsMock(),
|
| + this.promotedInstances: 0,
|
| + this.promotedBytes: 0});
|
| }
|
|
|
| class AllocationsMock implements M.Allocations {
|
| final M.AllocationCount accumulated;
|
| final M.AllocationCount current;
|
|
|
| - const AllocationsMock({this.accumulated: const AllocationCountMock(),
|
| - this.current: const AllocationCountMock()});
|
| + const AllocationsMock(
|
| + {this.accumulated: const AllocationCountMock(),
|
| + this.current: const AllocationCountMock()});
|
| }
|
|
|
| class AllocationCountMock implements M.AllocationCount {
|
|
|