equal
deleted
inserted
replaced
1319 if (LogCompilation && xtty != NULL) { |
1319 if (LogCompilation && xtty != NULL) { |
1320 CompiledMethod* cm = fr.cb()->as_compiled_method_or_null(); |
1320 CompiledMethod* cm = fr.cb()->as_compiled_method_or_null(); |
1321 assert(cm != NULL, "only compiled methods can deopt"); |
1321 assert(cm != NULL, "only compiled methods can deopt"); |
1322 |
1322 |
1323 ttyLocker ttyl; |
1323 ttyLocker ttyl; |
1324 xtty->begin_head("deoptimized thread='" UINTX_FORMAT "'", (uintx)thread->osthread()->thread_id()); |
1324 xtty->begin_head("deoptimized thread='" UINTX_FORMAT "' reason='%s' pc='" INTPTR_FORMAT "'",(uintx)thread->osthread()->thread_id(), trap_reason_name(reason), p2i(fr.pc())); |
1325 cm->log_identity(xtty); |
1325 cm->log_identity(xtty); |
1326 xtty->end_head(); |
1326 xtty->end_head(); |
1327 for (ScopeDesc* sd = cm->scope_desc_at(fr.pc()); ; sd = sd->sender()) { |
1327 for (ScopeDesc* sd = cm->scope_desc_at(fr.pc()); ; sd = sd->sender()) { |
1328 xtty->begin_elem("jvms bci='%d'", sd->bci()); |
1328 xtty->begin_elem("jvms bci='%d'", sd->bci()); |
1329 xtty->method(sd->method()); |
1329 xtty->method(sd->method()); |