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

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

Issue 2609253002: Added isolate + thread high watermark tracking to Observatory (Closed)
Patch Set: Merge branch 'master' of github.com:dart-lang/sdk into resubmit 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 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 02d436d9a8d200123b5f8f8c7534cd203c4b00bf..8c1e3672390d3024b7d34140b5f67911f6464c20 100644
--- a/runtime/observatory/lib/src/models/objects/isolate.dart
+++ b/runtime/observatory/lib/src/models/objects/isolate.dart
@@ -54,6 +54,11 @@ abstract class Isolate extends IsolateRef {
/// The list of threads associated with this isolate.
Iterable<Thread> get threads;
+ /// The maximum amount of memory in bytes allocated by the isolate in all
+ /// threads at a given time. Calculated using the high watermarks of each
+ /// thread alive when a thread is unscheduled.
+ int get memoryHighWatermark;
+
/// The number of zone handles currently held by this isolate.
int get numZoneHandles;

Powered by Google App Engine
This is Rietveld 408576698