| Index: runtime/bin/vmservice/observatory/lib/src/service/object.dart
|
| ===================================================================
|
| --- runtime/bin/vmservice/observatory/lib/src/service/object.dart (revision 42171)
|
| +++ runtime/bin/vmservice/observatory/lib/src/service/object.dart (working copy)
|
| @@ -1463,6 +1463,9 @@
|
| void _update(ObservableMap map, bool mapIsRef) {
|
| name = map['name'];
|
| vmName = (map.containsKey('vmName') ? map['vmName'] : name);
|
| + var idPrefix = "classes/";
|
| + assert(id.startsWith(idPrefix));
|
| + vmCid = int.parse(id.substring(idPrefix.length));
|
|
|
| if (mapIsRef) {
|
| return;
|
| @@ -1510,9 +1513,6 @@
|
| superclass._addSubclass(this);
|
| }
|
| error = map['error'];
|
| - var idPrefix = "classes/";
|
| - assert(id.startsWith(idPrefix));
|
| - vmCid = int.parse(id.substring(idPrefix.length));
|
|
|
| var allocationStats = map['allocationStats'];
|
| if (allocationStats != null) {
|
|
|