hotspot/src/share/vm/runtime/deoptimization.cpp
changeset 38242 c9013a328fe2
parent 38144 0976c0c5c5d3
child 39261 18f007610de6
equal deleted inserted replaced
38241:32eab2eb41fd 38242:c9013a328fe2
  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());