hotspot/src/share/vm/code/nmethod.cpp
changeset 5403 6b0dd9c75dde
parent 5402 c51fd0c1d005
child 5533 e8d9ff82ec62
--- a/hotspot/src/share/vm/code/nmethod.cpp	Sun Oct 11 16:19:25 2009 -0700
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Thu Apr 22 13:23:15 2010 -0700
@@ -2124,7 +2124,7 @@
   ResourceMark rm;
 
   if (!CodeCache::contains(this)) {
-    fatal1("nmethod at " INTPTR_FORMAT " not in zone", this);
+    fatal(err_msg("nmethod at " INTPTR_FORMAT " not in zone", this));
   }
 
   if(is_native_method() )
@@ -2132,7 +2132,8 @@
 
   nmethod* nm = CodeCache::find_nmethod(verified_entry_point());
   if (nm != this) {
-    fatal1("findNMethod did not find this nmethod (" INTPTR_FORMAT ")", this);
+    fatal(err_msg("findNMethod did not find this nmethod (" INTPTR_FORMAT ")",
+                  this));
   }
 
   for (PcDesc* p = scopes_pcs_begin(); p < scopes_pcs_end(); p++) {