diff src/share/vm/compiler/oopMap.cpp @ 2108:50b45e2d9725

Fixed bug in getClass() XIR snippet Null check needs separate PC position. Otherwise there's a problem if the null check is immediately after a call instruction.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Wed, 16 Feb 2011 13:38:33 +0100
parents f95d63e2154a
children be4ca325525a
line wrap: on
line diff
--- a/src/share/vm/compiler/oopMap.cpp	Fri Feb 04 16:01:24 2011 +0100
+++ b/src/share/vm/compiler/oopMap.cpp	Wed Feb 16 13:38:33 2011 +0100
@@ -255,7 +255,7 @@
   if(om_count() > 0) {
     OopMap* last = at(om_count()-1);
     if (last->offset() == map->offset() ) {
-      fatal("OopMap inserted twice");
+      fatal(err_msg("OopMap inserted twice (offset=%d)", last->offset()));
     }
     if(last->offset() > map->offset()) {
       tty->print_cr( "WARNING, maps not sorted: pc[%d]=%d, pc[%d]=%d",