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

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

Issue 1439893002: - Annotate instructions that load objects from the ObjectPool or Thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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="observatory_element.html"> 2 <link rel="import" href="observatory_element.html">
3 3
4 <polymer-element name="service-ref" extends="observatory-element"> 4 <polymer-element name="service-ref" extends="observatory-element">
5 </polymer-element> 5 </polymer-element>
6 6
7 <polymer-element name="any-service-ref" extends="observatory-element"> 7 <polymer-element name="any-service-ref" extends="observatory-element">
8 </polymer-element> 8 </polymer-element>
9 9
10 <polymer-element name="object-ref" extends="service-ref"> 10 <polymer-element name="object-ref" extends="service-ref">
11 <template><link rel="stylesheet" href="css/shared.css"> 11 <template><link rel="stylesheet" href="css/shared.css">
12 12
13 <template if="{{ ref.isObjectPool }}"> 13 <template if="{{ ref.isObjectPool }}">
14 <a on-click="{{ goto }}" _href="{{ url }}"> 14 <a on-click="{{ goto }}" _href="{{ url }}">
15 <em>{{ ref.vmType }}</em> ({{ ref.length }}) 15 <em>{{ ref.vmType }}</em> ({{ ref.length }})
16 </a> 16 </a>
17 <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}">
18 <template if="{{ expanded }}">
19 <div class="indented">
20 <template repeat="{{ entry in ref.entries }}">
21 <div class="memberItem">
22 <div class="memberName">[PP+0x{{ entry['offset'].toRadixString(16) }}]</div>
23 <div class="memberValue">
24 <template if="{{ entry['kind'] == 'Object' }}">
25 <any-service-ref ref="{{ entry['value'] }}">
26 </any-service-ref>
27 </template>
28 <template if="{{ entry['kind'] == 'Immediate' }}">
29 Immediate 0x{{ entry['value'].toRadixString(16) }}
30 </template>
31 <template if="{{ entry['kind'] == 'NativeEntry' }}">
32 NativeEntry 0x{{ entry['value'].toRadixString(16) }}
33 </template>
34 </div>
35 </div>
36 </template>
37 </div>
38 </template>
39 </curly-block>
17 </template> 40 </template>
18 <template if="{{ ref.isICData || ref.isMegamorphicCache }}"> 41 <template if="{{ ref.isICData || ref.isMegamorphicCache }}">
19 <a on-click="{{ goto }}" _href="{{ url }}"> 42 <a on-click="{{ goto }}" _href="{{ url }}">
20 <em>{{ ref.vmType }}</em> ({{ ref.selector }}) 43 <em>{{ ref.vmType }}</em> ({{ ref.selector }})
21 </a> 44 </a>
22 </template> 45 </template>
23 <template if="{{ ref.isInstructions }}"> 46 <template if="{{ ref.isInstructions }}">
24 <a on-click="{{ goto }}" _href="{{ url }}"> 47 <a on-click="{{ goto }}" _href="{{ url }}">
25 <em>{{ ref.vmType }}</em> ({{ ref.code.name }}) 48 <em>{{ ref.vmType }}</em> ({{ ref.code.name }})
26 </a> 49 </a>
27 </template> 50 </template>
28 <template if="{{ !(ref.isObjectPool || ref.isICData || ref.isMegamorphicCach e || ref.isInstructions) }}"> 51 <template if="{{ !(ref.isObjectPool || ref.isICData || ref.isMegamorphicCach e || ref.isInstructions) }}">
29 <template if="{{ nameIsEmpty }}"> 52 <template if="{{ nameIsEmpty }}">
30 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.vmType }}</em></a> 53 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.vmType }}</em></a>
31 </template> 54 </template>
32 <template if="{{ !nameIsEmpty }}"> 55 <template if="{{ !nameIsEmpty }}">
33 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ name }}</em></a> 56 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ name }}</em></a>
34 </template> 57 </template>
35 </template> 58 </template>
36 </template> 59 </template>
37 </polymer-element> 60 </polymer-element>
38 61
39 <script type="application/dart" src="service_ref.dart"></script> 62 <script type="application/dart" src="service_ref.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/service_ref.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698