c273f9ae15
Turns out, even thought Heap constructs an elaborate event object, and attaches it to the ServiceEvent, the service does its own event construction (again). As a result the ServiceEvent has quite a different layout and no concept of before/after. This CL changes Dart_GCEvent to more closely follow the JSON event emitted by Service. Bug: https://github.com/dart-lang/sdk/issues/43106 Change-Id: I34f33f23065ea7a92142ee7df23ab05ca91f161e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161176 Commit-Queue: Clement Skau <cskau@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>