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

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

Issue 2914283002: Observatory: (Closed)
Patch Set: . Created 3 years, 7 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 f1d1147f8c5917f6d1433ed6555605014d6731ad..039e0bdc888defec1594f294c1b2f760d595b774 100644
--- a/runtime/observatory/lib/src/models/objects/isolate.dart
+++ b/runtime/observatory/lib/src/models/objects/isolate.dart
@@ -14,6 +14,9 @@ abstract class IsolateRef {
/// A name identifying this isolate. Not guaranteed to be unique.
String get name;
+
+ /// Trigger a full GC, collecting all unreachable or weakly reachable objects.
+ Future collectAllGarbage();
}
enum IsolateStatus { loading, idle, running, paused }

Powered by Google App Engine
This is Rietveld 408576698