--- a/hotspot/src/share/vm/code/nmethod.cpp Fri Jan 08 10:14:02 2016 +0100
+++ b/hotspot/src/share/vm/code/nmethod.cpp Fri Dec 18 20:23:26 2015 +0300
@@ -2639,6 +2639,7 @@
ResourceMark rm(thread);
CodeBlob* cb = CodeCache::find_blob(pc);
assert(cb != NULL && cb == this, "");
+ ttyLocker ttyl;
tty->print_cr("implicit exception happened at " INTPTR_FORMAT, p2i(pc));
print();
method()->print_codes();
@@ -2960,13 +2961,6 @@
nul_chk_table_size());
}
-void nmethod::print_code() {
- HandleMark hm;
- ResourceMark m;
- Disassembler::decode(this);
-}
-
-
#ifndef PRODUCT
void nmethod::print_scopes() {