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 current pause on exception mode for this isolate. | 62 /// The current pause on exception mode for this isolate. |
58 //ExceptionPauseMode get exceptionPauseMode; | 63 //ExceptionPauseMode get exceptionPauseMode; |
59 | 64 |
60 /// [optional] The list of service extension RPCs that are registered for this | 65 /// [optional] The list of service extension RPCs that are registered for this |
61 /// isolate, if any. | 66 /// isolate, if any. |
62 Iterable<String> get extensionRPCs; | 67 Iterable<String> get extensionRPCs; |
63 | 68 |
64 Map get counters; | 69 Map get counters; |
65 HeapSpace get newSpace; | 70 HeapSpace get newSpace; |
66 HeapSpace get oldSpace; | 71 HeapSpace get oldSpace; |
67 | 72 |
68 IsolateStatus get status; | 73 IsolateStatus get status; |
69 | 74 |
70 /// [optional] | 75 /// [optional] |
71 FunctionRef get entry; | 76 FunctionRef get entry; |
72 } | 77 } |
OLD | NEW |