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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/service_ref.html
diff --git a/runtime/observatory/lib/src/elements/service_ref.html b/runtime/observatory/lib/src/elements/service_ref.html
index bf73449944c6aaaccc851cd02e049cb04930fdac..17ce4c52f5f82bcc178a1a6959547bc327deb39f 100644
--- a/runtime/observatory/lib/src/elements/service_ref.html
+++ b/runtime/observatory/lib/src/elements/service_ref.html
@@ -14,6 +14,29 @@
<a on-click="{{ goto }}" _href="{{ url }}">
<em>{{ ref.vmType }}</em> ({{ ref.length }})
</a>
+ <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}">
+ <template if="{{ expanded }}">
+ <div class="indented">
+ <template repeat="{{ entry in ref.entries }}">
+ <div class="memberItem">
+ <div class="memberName">[PP+0x{{ entry['offset'].toRadixString(16) }}]</div>
+ <div class="memberValue">
+ <template if="{{ entry['kind'] == 'Object' }}">
+ <any-service-ref ref="{{ entry['value'] }}">
+ </any-service-ref>
+ </template>
+ <template if="{{ entry['kind'] == 'Immediate' }}">
+ Immediate 0x{{ entry['value'].toRadixString(16) }}
+ </template>
+ <template if="{{ entry['kind'] == 'NativeEntry' }}">
+ NativeEntry 0x{{ entry['value'].toRadixString(16) }}
+ </template>
+ </div>
+ </div>
+ </template>
+ </div>
+ </template>
+ </curly-block>
</template>
<template if="{{ ref.isICData || ref.isMegamorphicCache }}">
<a on-click="{{ goto }}" _href="{{ url }}">
« 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