| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of service; | 5 part of service; |
| 6 | 6 |
| 7 /// A [ServiceObject] is an object known to the VM service and is tied | 7 /// A [ServiceObject] is an object known to the VM service and is tied |
| 8 /// to an owning [Isolate]. | 8 /// to an owning [Isolate]. |
| 9 abstract class ServiceObject extends Observable { | 9 abstract class ServiceObject extends Observable { |
| 10 static int LexicalSortName(ServiceObject o1, ServiceObject o2) { | 10 static int LexicalSortName(ServiceObject o1, ServiceObject o2) { |
| (...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 @observable final rootClasses = new ObservableList<Class>(); | 785 @observable final rootClasses = new ObservableList<Class>(); |
| 786 | 786 |
| 787 @observable Library rootLib; | 787 @observable Library rootLib; |
| 788 @observable ObservableList<Library> libraries = | 788 @observable ObservableList<Library> libraries = |
| 789 new ObservableList<Library>(); | 789 new ObservableList<Library>(); |
| 790 @observable ObservableMap topFrame; | 790 @observable ObservableMap topFrame; |
| 791 | 791 |
| 792 @observable String name; | 792 @observable String name; |
| 793 @observable String vmName; | 793 @observable String vmName; |
| 794 @observable String mainPort; | 794 @observable String mainPort; |
| 795 @observable Map entry; | 795 @observable ServiceFunction entry; |
| 796 | 796 |
| 797 @observable final Map<String, double> timers = | 797 @observable final Map<String, double> timers = |
| 798 toObservable(new Map<String, double>()); | 798 toObservable(new Map<String, double>()); |
| 799 | 799 |
| 800 final HeapSpace newSpace = new HeapSpace(); | 800 final HeapSpace newSpace = new HeapSpace(); |
| 801 final HeapSpace oldSpace = new HeapSpace(); | 801 final HeapSpace oldSpace = new HeapSpace(); |
| 802 | 802 |
| 803 @observable String fileAndLine; | 803 @observable String fileAndLine; |
| 804 | 804 |
| 805 @observable DartError error; | 805 @observable DartError error; |
| (...skipping 1718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2524 var v = list[i]; | 2524 var v = list[i]; |
| 2525 if ((v is ObservableMap) && _isServiceMap(v)) { | 2525 if ((v is ObservableMap) && _isServiceMap(v)) { |
| 2526 list[i] = owner.getFromMap(v); | 2526 list[i] = owner.getFromMap(v); |
| 2527 } else if (v is ObservableList) { | 2527 } else if (v is ObservableList) { |
| 2528 _upgradeObservableList(v, owner); | 2528 _upgradeObservableList(v, owner); |
| 2529 } else if (v is ObservableMap) { | 2529 } else if (v is ObservableMap) { |
| 2530 _upgradeObservableMap(v, owner); | 2530 _upgradeObservableMap(v, owner); |
| 2531 } | 2531 } |
| 2532 } | 2532 } |
| 2533 } | 2533 } |
| OLD | NEW |