hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 35606 d873b64009cc
parent 35495 e27da438fa13
parent 35542 9dccb7f9f656
child 36331 eeeb86fd9922
--- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Tue Jan 26 17:13:18 2016 +0100
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Thu Jan 28 09:49:17 2016 +0100
@@ -726,6 +726,7 @@
 #endif
 
   if (t == NULL) {
+    ttyLocker ttyl;
     tty->print_cr("MISSING EXCEPTION HANDLER for pc " INTPTR_FORMAT " and handler bci %d", p2i(ret_pc), handler_bci);
     tty->print_cr("   Exception:");
     exception->print();
@@ -2759,7 +2760,7 @@
 
         DirectiveSet* directive = DirectivesStack::getDefaultDirective(CompileBroker::compiler(CompLevel_simple));
         if (directive->PrintAssemblyOption) {
-          Disassembler::decode(nm, tty);
+          nm->print_code();
         }
         DirectivesStack::release(directive);
       }