hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 35606 d873b64009cc
parent 35492 c8c0273e6b91
parent 35543 0961315f4016
child 35918 1e48ea715a0b
--- a/hotspot/src/share/vm/classfile/systemDictionary.cpp	Tue Jan 26 17:13:18 2016 +0100
+++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp	Thu Jan 28 09:49:17 2016 +0100
@@ -2385,6 +2385,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(); }