Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: runtime/observatory/lib/src/models/objects/isolate.dart

Issue 2601153002: Added methods to surface number of zone and scoped handles for each isolate. (Closed)
Patch Set: Added methods to surface number of zone and scoped handles in each isolate. These values are displa… Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 number of zone handles currently held by this isolate.
58 int get numZoneHandles;
59
60 /// The number of scoped handles currently held by this isolate.
61 int get numScopedHandles;
62
57 /// The current pause on exception mode for this isolate. 63 /// The current pause on exception mode for this isolate.
58 //ExceptionPauseMode get exceptionPauseMode; 64 //ExceptionPauseMode get exceptionPauseMode;
59 65
60 /// [optional] The list of service extension RPCs that are registered for this 66 /// [optional] The list of service extension RPCs that are registered for this
61 /// isolate, if any. 67 /// isolate, if any.
62 Iterable<String> get extensionRPCs; 68 Iterable<String> get extensionRPCs;
63 69
64 Map get counters; 70 Map get counters;
65 HeapSpace get newSpace; 71 HeapSpace get newSpace;
66 HeapSpace get oldSpace; 72 HeapSpace get oldSpace;
67 73
68 IsolateStatus get status; 74 IsolateStatus get status;
69 75
70 /// [optional] 76 /// [optional]
71 FunctionRef get entry; 77 FunctionRef get entry;
72 } 78 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_view.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698