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 |
| 58 /// threads at a given time. Calculated using the high watermarks of each |
| 59 /// thread alive when a thread is unscheduled. |
| 60 int get memoryHighWatermark; |
| 61 |
57 /// The number of zone handles currently held by this isolate. | 62 /// The number of zone handles currently held by this isolate. |
58 int get numZoneHandles; | 63 int get numZoneHandles; |
59 | 64 |
60 /// The number of scoped handles currently held by this isolate. | 65 /// The number of scoped handles currently held by this isolate. |
61 int get numScopedHandles; | 66 int get numScopedHandles; |
62 | 67 |
63 /// The current pause on exception mode for this isolate. | 68 /// The current pause on exception mode for this isolate. |
64 //ExceptionPauseMode get exceptionPauseMode; | 69 //ExceptionPauseMode get exceptionPauseMode; |
65 | 70 |
66 /// [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 |
67 /// isolate, if any. | 72 /// isolate, if any. |
68 Iterable<String> get extensionRPCs; | 73 Iterable<String> get extensionRPCs; |
69 | 74 |
70 Map get counters; | 75 Map get counters; |
71 HeapSpace get newSpace; | 76 HeapSpace get newSpace; |
72 HeapSpace get oldSpace; | 77 HeapSpace get oldSpace; |
73 | 78 |
74 IsolateStatus get status; | 79 IsolateStatus get status; |
75 | 80 |
76 /// [optional] | 81 /// [optional] |
77 FunctionRef get entry; | 82 FunctionRef get entry; |
78 } | 83 } |
OLD | NEW |