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

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

Issue 2217723004: Converted Observatory isolate-summary element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Added final tests Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/models/objects/isolate.dart
diff --git a/runtime/observatory/lib/src/models/objects/isolate.dart b/runtime/observatory/lib/src/models/objects/isolate.dart
index 81d54c5f60571739922ba285efee88c61296403d..45f5524ceec81eed2bfdca7e5b7d50558227856f 100644
--- a/runtime/observatory/lib/src/models/objects/isolate.dart
+++ b/runtime/observatory/lib/src/models/objects/isolate.dart
@@ -5,12 +5,58 @@
part of models;
abstract class IsolateRef {
+ /// The id which is passed to the getIsolate RPC to reload this
+ /// isolate.
String get id;
+
+ /// A numeric id for this isolate, represented as a string. Unique.
int get number;
+
+ /// A name identifying this isolate. Not guaranteed to be unique.
String get name;
}
abstract class Isolate extends IsolateRef {
+ /// The time that the VM started in milliseconds since the epoch.
DateTime get startTime;
+
+ /// Is the isolate in a runnable state?
bool get runnable;
+
+ /// The number of live ports for this isolate.
+ //int get livePorts;
+
+ /// Will this isolate pause when exiting?
+ //bool get pauseOnExit;
+
+ /// The last pause event delivered to the isolate. If the isolate is
+ /// running, this will be a resume event.
+ //Event get pauseEvent;
+
+ /// [optional] The root library for this isolate.
+ ///
+ /// Guaranteed to be initialized when the IsolateRunnable event fires.
+ //LibraryRef get rootLib;
+
+ /// A list of all libraries for this isolate.
+ ///
+ /// Guaranteed to be initialized when the IsolateRunnable event fires.
+ Iterable<LibraryRef> get libraries;
+
+ /// A list of all breakpoints for this isolate.
+ //Iterable<Breakpoint> get breakpoints;
+
+ /// [optional] The error that is causing this isolate to exit, if applicable.
+ Error get error;
+
+ /// The current pause on exception mode for this isolate.
+ //ExceptionPauseMode get exceptionPauseMode;
+
+ /// [optional]The list of service extension RPCs that are registered for this
+ /// isolate, if any.
+ Iterable<String> get extensionRPCs;
+
+ Map get counters;
+ HeapSpace get newSpace;
+ HeapSpace get oldSpace;
}

Powered by Google App Engine
This is Rietveld 408576698