summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff Hao <jeffhao@google.com> 2016-07-27 10:35:03 -0700
committer Jeff Hao <jeffhao@google.com> 2016-07-27 10:35:03 -0700
commit58d40f3a7245e65d57a5daf6bf27c3b209260044 (patch)
tree3132e2e1e5b1f1af558652d9b39eeb6c994ec256
parent93afc5f20a23ece78d6d6e506ed75775b8ef2113 (diff)
Fix profiling output to properly display class info.
The profiler stores class def indexes, not type ids. Change-Id: Ieec9374a2ba381387ed444f376922478183145f8
-rw-r--r--runtime/jit/offline_profiling_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jit/offline_profiling_info.cc b/runtime/jit/offline_profiling_info.cc
index 5039d2de07..aa606a26d3 100644
--- a/runtime/jit/offline_profiling_info.cc
+++ b/runtime/jit/offline_profiling_info.cc
@@ -637,7 +637,7 @@ std::string ProfileCompilationInfo::DumpInfo(const std::vector<const DexFile*>*
os << "\n\tclasses: ";
for (const auto class_it : dex_data.class_set) {
if (dex_file != nullptr) {
- os << "\n\t\t" << PrettyType(class_it, *dex_file);
+ os << "\n\t\t" << dex_file->GetClassDescriptor(dex_file->GetClassDef(class_it));
} else {
os << class_it << ",";
}