hotspot/src/share/vm/code/nmethod.cpp
changeset 35606 d873b64009cc
parent 35495 e27da438fa13
parent 35546 b75e269c0922
child 35822 d04be2a635f2
child 35918 1e48ea715a0b
--- 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() {