Chromium Code Reviews| Index: runtime/bin/vmservice/observatory/lib/src/service/object.dart |
| =================================================================== |
| --- runtime/bin/vmservice/observatory/lib/src/service/object.dart (revision 42084) |
| +++ runtime/bin/vmservice/observatory/lib/src/service/object.dart (working copy) |
| @@ -333,7 +333,8 @@ |
| @reflectable String relativeLink(String id) => '$id'; |
| @observable String version = 'unknown'; |
| - @observable String architecture = 'unknown'; |
| + @observable String targetCPU; |
|
Cutch
2014/12/04 17:40:33
check that the VM view still works. It probably re
koda
2014/12/04 17:41:51
No, this field was completely unused until now.
|
| + @observable int architectureBits; |
| @observable double uptime = 0.0; |
| @observable bool assertsEnabled = false; |
| @observable bool typeChecksEnabled = false; |
| @@ -557,7 +558,8 @@ |
| } |
| _loaded = true; |
| version = map['version']; |
| - architecture = map['architecture']; |
| + targetCPU = map['targetCPU']; |
| + architectureBits = map['architectureBits']; |
| uptime = map['uptime']; |
| var dateInMillis = int.parse(map['date']); |
| lastUpdate = new DateTime.fromMillisecondsSinceEpoch(dateInMillis); |
| @@ -1438,6 +1440,7 @@ |
| @observable int endTokenPos; |
| @observable ServiceMap error; |
| + @observable int vmCid; |
| final Allocations newSpace = new Allocations(); |
| final Allocations oldSpace = new Allocations(); |
| @@ -1507,6 +1510,9 @@ |
| 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) { |