hotspot/src/share/vm/code/nmethod.cpp
changeset 35918 1e48ea715a0b
parent 35917 463d67f86eaa
parent 35606 d873b64009cc
child 35951 eb6971bc8c95
--- 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() {