hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 35543 0961315f4016
parent 34666 1c7168ea0034
child 35606 d873b64009cc
--- a/hotspot/src/share/vm/classfile/systemDictionary.cpp	Fri Dec 18 20:23:26 2015 +0300
+++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp	Fri Dec 18 20:23:27 2015 +0300
@@ -2386,6 +2386,7 @@
       oop appendix = appendix_box->obj_at(0);
       if (TraceMethodHandles) {
     #ifndef PRODUCT
+        ttyLocker ttyl;
         tty->print("Linked method=" INTPTR_FORMAT ": ", p2i(m));
         m->print();
         if (appendix != NULL) { tty->print("appendix = "); appendix->print(); }