OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 models; | 5 part of models; |
6 | 6 |
7 abstract class IsolateRef { | 7 abstract class IsolateRef { |
8 /// The id which is passed to the getIsolate RPC to reload this | 8 /// The id which is passed to the getIsolate RPC to reload this |
9 /// isolate. | 9 /// isolate. |
10 String get id; | 10 String get id; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 /// A list of all breakpoints for this isolate. | 48 /// A list of all breakpoints for this isolate. |
49 //Iterable<Breakpoint> get breakpoints; | 49 //Iterable<Breakpoint> get breakpoints; |
50 | 50 |
51 /// [optional] The error that is causing this isolate to exit, if applicable. | 51 /// [optional] The error that is causing this isolate to exit, if applicable. |
52 Error get error; | 52 Error get error; |
53 | 53 |
54 /// The list of threads associated with this isolate. | 54 /// The list of threads associated with this isolate. |
55 Iterable<Thread> get threads; | 55 Iterable<Thread> get threads; |
56 | 56 |
57 /// The maximum amount of memory in bytes allocated by the isolate in all | 57 /// The maximum amount of zone memory in bytes allocated by the isolate in |
58 /// threads at a given time. Calculated using the high watermarks of each | 58 /// all threads at a given time. Calculated using the high watermarks of each |
59 /// thread alive when a thread is unscheduled. | 59 /// thread alive when a thread is unscheduled. |
60 int get memoryHighWatermark; | 60 int get zoneHighWatermark; |
61 | 61 |
62 /// The number of zone handles currently held by this isolate. | 62 /// The number of zone handles currently held by this isolate. |
63 int get numZoneHandles; | 63 int get numZoneHandles; |
64 | 64 |
65 /// The number of scoped handles currently held by this isolate. | 65 /// The number of scoped handles currently held by this isolate. |
66 int get numScopedHandles; | 66 int get numScopedHandles; |
67 | 67 |
68 /// The current pause on exception mode for this isolate. | 68 /// The current pause on exception mode for this isolate. |
69 //ExceptionPauseMode get exceptionPauseMode; | 69 //ExceptionPauseMode get exceptionPauseMode; |
70 | 70 |
71 /// [optional] The list of service extension RPCs that are registered for this | 71 /// [optional] The list of service extension RPCs that are registered for this |
72 /// isolate, if any. | 72 /// isolate, if any. |
73 Iterable<String> get extensionRPCs; | 73 Iterable<String> get extensionRPCs; |
74 | 74 |
75 Map get counters; | 75 Map get counters; |
76 HeapSpace get newSpace; | 76 HeapSpace get newSpace; |
77 HeapSpace get oldSpace; | 77 HeapSpace get oldSpace; |
78 | 78 |
79 IsolateStatus get status; | 79 IsolateStatus get status; |
80 | 80 |
81 /// [optional] | 81 /// [optional] |
82 FunctionRef get entry; | 82 FunctionRef get entry; |
83 } | 83 } |
OLD | NEW |