OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a210d9
)
Fix profiling output to properly display class info.
author
Jeff Hao
<jeffhao@google.com>
Wed, 27 Jul 2016 17:35:03 +0000
(10:35 -0700)
committer
Jeff Hao
<jeffhao@google.com>
Mon, 1 Aug 2016 22:14:44 +0000
(15:14 -0700)
The profiler stores class def indexes, not type ids.
Bug:
30436198
(cherry-picked from commit
58d40f3a7245e65d57a5daf6bf27c3b209260044
)
Change-Id: I63524957547c5e0dbaf1d752220de8d05473638f
runtime/jit/offline_profiling_info.cc
patch
|
blob
|
history
diff --git
a/runtime/jit/offline_profiling_info.cc
b/runtime/jit/offline_profiling_info.cc
index
b378bed
..
cdbff19
100644
(file)
--- a/
runtime/jit/offline_profiling_info.cc
+++ b/
runtime/jit/offline_profiling_info.cc
@@
-626,7
+626,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\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 << ",";
}
} else {
os << class_it << ",";
}