diff src/share/vm/runtime/stackValue.cpp @ 1939:b7fb5f1e0747

Two new flags: -XX:MaxCompilationID (to enable debugging binary search for problematic method) and -XX:C1XBailoutIsFatal.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Mon, 27 Dec 2010 20:33:00 +0100
parents 1aa5b22a7716
children 00bc9eaf0e24
line wrap: on
line diff
--- a/src/share/vm/runtime/stackValue.cpp	Mon Dec 27 14:22:55 2010 +0100
+++ b/src/share/vm/runtime/stackValue.cpp	Mon Dec 27 20:33:00 2010 +0100
@@ -115,7 +115,7 @@
       }
 #endif
 #ifndef PRODUCT
-      if (!val->is_oop()) {
+      if (val != NULL && !val->is_oop()) {
         tty->print_cr("found wrong oop " INTPTR_FORMAT " at location:", val);
         sv->print();
         tty->print_cr("");