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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 2728743003: Temporarily disabling JSON generation for Zone statistics to resolve flakiness in tests until a bet… (Closed)
Patch Set: Removed code that was commented out in previous patch Created 3 years, 10 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
« no previous file with comments | « no previous file | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 1618aedd72a8a7e600190283279ba0613ab17e22..8f82cd18dba65007c6bac7bb53831417e786e382 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -3114,7 +3114,6 @@ class Thread extends ServiceObject implements M.Thread {
void _update(Map map, bool mapIsRef) {
String rawKind = map['kind'];
- List<Map> zoneList = map['zones'];
switch(rawKind) {
case "kUnknownTask":
@@ -3146,13 +3145,6 @@ class Thread extends ServiceObject implements M.Thread {
}
_memoryHighWatermark = int.parse(map['_memoryHighWatermark']);
-
- zones.clear();
- zoneList.forEach((zone) {
- int capacity = zone['capacity'];
- int used = zone['used'];
- zones.add(new Zone(capacity, used));
- });
}
}
« no previous file with comments | « no previous file | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698