--- a/hotspot/src/share/vm/code/nmethod.cpp Wed Feb 03 11:40:30 2016 -0500
+++ b/hotspot/src/share/vm/code/nmethod.cpp Wed Feb 03 18:16:54 2016 +0100
@@ -2642,6 +2642,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();
@@ -2963,13 +2964,6 @@
nul_chk_table_size());
}
-void nmethod::print_code() {
- HandleMark hm;
- ResourceMark m;
- Disassembler::decode(this);
-}
-
-
#ifndef PRODUCT
void nmethod::print_scopes() {