diff -r 7eca5de9e0b6 -r b31471cdc53e src/share/vm/interpreter/interpreter.cpp --- a/src/share/vm/interpreter/interpreter.cpp Thu Sep 20 16:49:17 2012 +0200 +++ b/src/share/vm/interpreter/interpreter.cpp Mon Sep 24 10:30:14 2012 -0700 @@ -60,6 +60,8 @@ void InterpreterCodelet::print_on(outputStream* st) const { + ttyLocker ttyl; + if (PrintInterpreter) { st->cr(); st->print_cr("----------------------------------------------------------------------"); @@ -72,7 +74,7 @@ if (PrintInterpreter) { st->cr(); - Disassembler::decode(code_begin(), code_end(), st); + Disassembler::decode(code_begin(), code_end(), st, DEBUG_ONLY(_comments) NOT_DEBUG(CodeComments())); } }