hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 13887 89b873bcc55b
parent 13883 6979b9850feb
child 13952 e3cf184080bc
--- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Thu Sep 20 16:49:17 2012 +0200
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Mon Sep 24 10:30:14 2012 -0700
@@ -2460,6 +2460,7 @@
 #ifndef PRODUCT
     // debugging suppport
     if (PrintAdapterHandlers || PrintStubCode) {
+      ttyLocker ttyl;
       entry->print_adapter_on(tty);
       tty->print_cr("i2c argument handler #%d for: %s %s (%d bytes generated)",
                     _adapters->number_of_entries(), (method->is_static() ? "static" : "receiver"),
@@ -2467,8 +2468,10 @@
       tty->print_cr("c2i argument handler starts at %p",entry->get_c2i_entry());
       if (Verbose || PrintStubCode) {
         address first_pc = entry->base_address();
-        if (first_pc != NULL)
+        if (first_pc != NULL) {
           Disassembler::decode(first_pc, first_pc + insts_size);
+          tty->cr();
+        }
       }
     }
 #endif