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

Side by Side Diff: runtime/observatory/lib/src/elements/objectpool_view.html

Issue 1392953003: Add view for MegamorphicCache. Update view for ObjectPool. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="class_ref.html"> 2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="error_view.html"> 3 <link rel="import" href="error_view.html">
4 <link rel="import" href="field_ref.html"> 4 <link rel="import" href="field_ref.html">
5 <link rel="import" href="function_ref.html"> 5 <link rel="import" href="function_ref.html">
6 <link rel="import" href="inbound_reference.html"> 6 <link rel="import" href="inbound_reference.html">
7 <link rel="import" href="instance_ref.html"> 7 <link rel="import" href="instance_ref.html">
8 <link rel="import" href="observatory_element.html"> 8 <link rel="import" href="observatory_element.html">
9 <link rel="import" href="object_common.html"> 9 <link rel="import" href="object_common.html">
10 <link rel="import" href="nav_bar.html"> 10 <link rel="import" href="nav_bar.html">
(...skipping 10 matching lines...) Expand all
21 <nav-refresh callback="{{ refresh }}"></nav-refresh> 21 <nav-refresh callback="{{ refresh }}"></nav-refresh>
22 </nav-bar> 22 </nav-bar>
23 23
24 <div class="content"> 24 <div class="content">
25 <object-common object="{{ pool }}"></object-common> 25 <object-common object="{{ pool }}"></object-common>
26 26
27 <br><br> 27 <br><br>
28 28
29 entries ({{ pool.entries.length }}) 29 entries ({{ pool.entries.length }})
30 <div class="memberList"> 30 <div class="memberList">
31 <template repeat="{{ index in pool.entries.asMap().keys }}"> 31 <template repeat="{{ entry in pool.entries }}">
32 <div class="memberItem"> 32 <div class="memberItem">
33 <div class="memberName">[{{ index }}]</div> 33 <div class="memberName">[PP+0x{{ entry['offset'].toRadixString(16) } }]</div>
34 <div class="memberValue"> 34 <div class="memberValue">
35 <template if="{{ isServiceObject(pool.entries[index]) }}"> 35 <template if="{{ entry['kind'] == 'Object' }}">
36 <any-service-ref ref="{{ pool.entries[index] }}"> 36 <any-service-ref ref="{{ entry['value'] }}">
37 </any-service-ref> 37 </any-service-ref>
38 </template> 38 </template>
39 <template if="{{ !isServiceObject(pool.entries[index]) }}"> 39 <template if="{{ entry['kind'] == 'Immediate' }}">
40 {{ pool.entries[index] }} 40 Immediate 0x{{ entry['value'].toRadixString(16) }}
41 <template if="{{ annotatedEntries != null && annotatedEntries[in dex] != null }}"> 41 </template>
42 (<any-service-ref ref="{{ annotatedEntries[index] }}"></any-se rvice-ref>) 42 <template if="{{ entry['kind'] == 'NativeEntry' }}">
43 </template> 43 NativeEntry 0x{{ entry['value'].toRadixString(16) }}
44 </template> 44 </template>
45 </div> 45 </div>
46 </div> 46 </div>
47 </template> 47 </template>
48 </div> 48 </div>
49 49
50 </div> 50 </div>
51 51
52 <hr> 52 <hr>
53 <view-footer></view-footer> 53 <view-footer></view-footer>
54 </template> 54 </template>
55 </polymer-element> 55 </polymer-element>
56 56
57 <script type="application/dart" src="objectpool_view.dart"></script> 57 <script type="application/dart" src="objectpool_view.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/objectpool_view.dart ('k') | runtime/observatory/lib/src/elements/service_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698