Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/deoptimization.cpp @ 22751:1dc87d090f96
Add pc to deoptimized LogCompilation message
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 15 Dec 2015 09:46:00 -0800 |
parents | 48fde4d03767 |
children | dd9cc155639c |
comparison
equal
deleted
inserted
replaced
22750:cbdce7fb4091 | 22751:1dc87d090f96 |
---|---|
1311 if (LogCompilation && xtty != NULL) { | 1311 if (LogCompilation && xtty != NULL) { |
1312 nmethod* nm = fr.cb()->as_nmethod_or_null(); | 1312 nmethod* nm = fr.cb()->as_nmethod_or_null(); |
1313 assert(nm != NULL, "only nmethods can deopt"); | 1313 assert(nm != NULL, "only nmethods can deopt"); |
1314 | 1314 |
1315 ttyLocker ttyl; | 1315 ttyLocker ttyl; |
1316 xtty->begin_head("deoptimized thread='" UINTX_FORMAT "'", thread->osthread()->thread_id()); | 1316 xtty->begin_head("deoptimized thread='" UINTX_FORMAT "' pc='" UINTX_FORMAT "'", thread->osthread()->thread_id(), fr.pc()); |
1317 nm->log_identity(xtty); | 1317 nm->log_identity(xtty); |
1318 xtty->end_head(); | 1318 xtty->end_head(); |
1319 for (ScopeDesc* sd = nm->scope_desc_at(fr.pc()); ; sd = sd->sender()) { | 1319 for (ScopeDesc* sd = nm->scope_desc_at(fr.pc()); ; sd = sd->sender()) { |
1320 xtty->begin_elem("jvms bci='%d'", sd->bci()); | 1320 xtty->begin_elem("jvms bci='%d'", sd->bci()); |
1321 xtty->method(sd->method()); | 1321 xtty->method(sd->method()); |