src/hotspot/share/opto/runtime.cpp
changeset 51078 fc6cfe40e32a
parent 50860 480a96a43b62
child 57603 f9d9bed12d1a
child 58678 9cf78a70fa4f
equal deleted inserted replaced
51077:9baa91bc7567 51078:fc6cfe40e32a
  1606     } else {
  1606     } else {
  1607       first = false;
  1607       first = false;
  1608     }
  1608     }
  1609     int bci = jvms->bci();
  1609     int bci = jvms->bci();
  1610     if (bci < 0) bci = 0;
  1610     if (bci < 0) bci = 0;
  1611     st.print("%s.%s@%d", m->holder()->name()->as_utf8(), m->name()->as_utf8(), bci);
  1611     if (m != NULL) {
       
  1612       st.print("%s.%s", m->holder()->name()->as_utf8(), m->name()->as_utf8());
       
  1613     } else {
       
  1614       st.print("no method");
       
  1615     }
       
  1616     st.print("@%d", bci);
  1612     // To print linenumbers instead of bci use: m->line_number_from_bci(bci)
  1617     // To print linenumbers instead of bci use: m->line_number_from_bci(bci)
  1613   }
  1618   }
  1614   NamedCounter* c;
  1619   NamedCounter* c;
  1615   if (tag == NamedCounter::BiasedLockingCounter) {
  1620   if (tag == NamedCounter::BiasedLockingCounter) {
  1616     c = new BiasedLockingNamedCounter(st.as_string());
  1621     c = new BiasedLockingNamedCounter(st.as_string());