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

Unified Diff: runtime/bin/vmservice/client/deployed/web/index.html

Issue 351703002: Class view: list all/sample instances on request. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/deployed/web/index.html
===================================================================
--- runtime/bin/vmservice/client/deployed/web/index.html (revision 37660)
+++ runtime/bin/vmservice/client/deployed/web/index.html (working copy)
@@ -3850,14 +3850,33 @@
</template>
<template if="{{ !cls.hasNoAllocations }}">
- current instances ({{ cls.newSpace.current.instances + cls.oldSpace.current.instances }})
+ instances
<div class="memberItem">
- <div class="memberName">shallow size</div>
+ <div class="memberName">currently allocated</div>
<div class="memberValue">
- {{ cls.newSpace.current.bytes + cls.oldSpace.current.bytes | formatSize }}
+ count {{ cls.newSpace.current.instances + cls.oldSpace.current.instances }}
+ (shallow size {{ cls.newSpace.current.bytes + cls.oldSpace.current.bytes | formatSize }})
</div>
</div>
<div class="memberItem">
+ <div class="memberName">strongly reachable</div>
+ <div class="memberValue">
+ <template if="{{ instances == null }}">
+ <eval-link callback="{{ reachable }}" label="[find]" expr="100">
+ </eval-link>
+ </template>
+ <template if="{{ instances != null }}">
+ sample
+ <instance-ref ref="{{ instances['sample'] }}"></instance-ref>
+ <template if="{{ instances['totalCount'] > instances['sampleCount'] }}">
+ <eval-link callback="{{ reachable }}" label="[more]" expr="{{ instances['sampleCount'] * 2 }}">
+ </eval-link>
+ </template>
+ of total {{ instances['totalCount'] }}
+ </template>
+ </div>
+ </div>
+ <div class="memberItem">
<div class="memberName">retained size</div>
<div class="memberValue">
<template if="{{ retainedBytes == null }}">
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698