--- a/hotspot/src/share/vm/c1/c1_Runtime1.cpp Fri Jan 08 10:14:02 2016 +0100
+++ b/hotspot/src/share/vm/c1/c1_Runtime1.cpp Fri Dec 18 20:23:26 2015 +0300
@@ -1030,6 +1030,7 @@
address copy_buff = stub_location - *byte_skip - *byte_count;
address being_initialized_entry = stub_location - *being_initialized_entry_offset;
if (TracePatching) {
+ ttyLocker ttyl;
tty->print_cr(" Patching %s at bci %d at address " INTPTR_FORMAT " (%s)", Bytecodes::name(code), bci,
p2i(instr_pc), (stub_id == Runtime1::access_field_patching_id) ? "field" : "klass");
nmethod* caller_code = CodeCache::find_nmethod(caller_frame.pc());