diff -r a7c0f60a1294 -r 294e48b4f704 hotspot/src/share/vm/code/nmethod.cpp --- a/hotspot/src/share/vm/code/nmethod.cpp Mon Sep 28 15:05:02 2015 +0200 +++ b/hotspot/src/share/vm/code/nmethod.cpp Tue Sep 29 11:02:08 2015 +0200 @@ -1709,7 +1709,7 @@ // Clean inline caches pointing to both zombie and not_entrant methods if (!nm->is_in_use() || (nm->method()->code() != nm)) { ic->set_to_clean(); - assert(ic->is_clean(), err_msg("nmethod " PTR_FORMAT "not clean %s", from, from->method()->name_and_sig_as_C_string())); + assert(ic->is_clean(), "nmethod " PTR_FORMAT "not clean %s", from, from->method()->name_and_sig_as_C_string()); } } @@ -2540,7 +2540,7 @@ ResourceMark rm; if (!CodeCache::contains(this)) { - fatal(err_msg("nmethod at " INTPTR_FORMAT " not in zone", this)); + fatal("nmethod at " INTPTR_FORMAT " not in zone", this); } if(is_native_method() ) @@ -2548,8 +2548,7 @@ nmethod* nm = CodeCache::find_nmethod(verified_entry_point()); if (nm != this) { - fatal(err_msg("findNMethod did not find this nmethod (" INTPTR_FORMAT ")", - this)); + fatal("findNMethod did not find this nmethod (" INTPTR_FORMAT ")", this); } for (PcDesc* p = scopes_pcs_begin(); p < scopes_pcs_end(); p++) {