hotspot/src/share/vm/interpreter/interpreter.cpp
changeset 13887 89b873bcc55b
parent 13728 882756847a04
child 14294 130e947dfbe6
--- a/hotspot/src/share/vm/interpreter/interpreter.cpp	Thu Sep 20 16:49:17 2012 +0200
+++ b/hotspot/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()));
   }
 }