Index: runtime/observatory/lib/src/elements/isolate_view.dart |
diff --git a/runtime/observatory/lib/src/elements/isolate_view.dart b/runtime/observatory/lib/src/elements/isolate_view.dart |
index 8c0f186831c109159d5ed67a7d28cf9be26a6f16..0c830be194f730e680dda8e78e6338bcbf20b03b 100644 |
--- a/runtime/observatory/lib/src/elements/isolate_view.dart |
+++ b/runtime/observatory/lib/src/elements/isolate_view.dart |
@@ -302,13 +302,13 @@ class IsolateViewElement extends HtmlElement implements Renderable { |
..children = [ |
new DivElement() |
..classes = ['memberName'] |
- ..text = 'native memory usage high watermark' |
- ..title = '''The maximum amount of native memory allocated |
- by the isolate over it\'s life.''', |
+ ..text = 'zone capacity high watermark' |
+ ..title = '''The maximum amount of native zone memory |
+ allocated by the isolate over it\'s life.''', |
new DivElement() |
..classes = ['memberValue'] |
- ..text = Utils.formatSize(_isolate.memoryHighWatermark) |
- ..title = '${_isolate.memoryHighWatermark}B' |
+ ..text = Utils.formatSize(_isolate.zoneHighWatermark) |
+ ..title = '${_isolate.zoneHighWatermark}B' |
], |
new BRElement(), |
new DivElement() |
@@ -377,57 +377,16 @@ class IsolateViewElement extends HtmlElement implements Renderable { |
..text = 'kind ${t.kindString}', |
new DivElement() |
..classes = ['indent'] |
- ..title = '${t.memoryHighWatermark}B' |
+ ..title = '${t.zoneHighWatermark}B' |
..text = |
- 'native memory usage high watermark ${Utils.formatSize(t.memoryHighWatermark)}', |
+ 'zone capacity high watermark ' + |
+ '${Utils.formatSize(t.zoneHighWatermark)}', |
new DivElement() |
- ..children = t.zones |
- .map((z) => new DivElement() |
- ..classes = ['indent'] |
- ..children = [ |
- new DivElement() |
- ..children = [ |
- new SpanElement() |
- ..children = [ |
- // TODO(bkonyi): zones will always be empty. See |
- // issue #28885. |
- new SpanElement() |
- ..text = 'zone ${index++} ', |
- new CurlyBlockElement(queue: _r.queue) |
- ..content = [ |
- new DivElement() |
- ..classes = ['memberList'] |
- ..children = [ |
- new DivElement() |
- ..classes = ['memberItem'] |
- ..children = [ |
- new SpanElement() |
- ..classes = ['memberName'] |
- ..text = 'used ', |
- new SpanElement() |
- ..classes = ['memberValue'] |
- ..title = '${z.used}B' |
- ..text = |
- Utils.formatSize(z.used) |
- ], |
- new DivElement() |
- ..classes = ['memberItem'] |
- ..children = [ |
- new SpanElement() |
- ..classes = ['memberName'] |
- ..text = 'capacity', |
- new SpanElement() |
- ..classes = ['memberValue'] |
- ..title = '${z.capacity}B' |
- ..text = |
- Utils.formatSize(z.capacity) |
- ] |
- ] |
- ] |
- ] |
- ] |
- ] |
- )] |
+ ..classes = ['indent'] |
+ ..title = '${t.zoneCapacity}B' |
+ ..text = 'current zone capacity ' + |
+ '${Utils.formatSize(t.zoneCapacity)}', |
+ ] |
]; |
} |