--- a/hotspot/src/share/vm/code/nmethod.cpp Tue Jan 26 17:13:18 2016 +0100
+++ b/hotspot/src/share/vm/code/nmethod.cpp Thu Jan 28 09:49:17 2016 +0100
@@ -2640,6 +2640,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();
@@ -2961,13 +2962,6 @@
nul_chk_table_size());
}
-void nmethod::print_code() {
- HandleMark hm;
- ResourceMark m;
- Disassembler::decode(this);
-}
-
-
#ifndef PRODUCT
void nmethod::print_scopes() {