diff src/share/vm/runtime/globals.hpp @ 325:93befa083681

6741004: UseLargePages + UseCompressedOops breaks implicit null checking guard page Summary: Turn off c2 implicit null checking on windows and large pages specified. Reviewed-by: jrose, xlu
author coleenp
date Tue, 02 Sep 2008 15:18:26 -0400
parents bfcb639d5bca
children 032ddb9432ad 885fe0f95828
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Sun Aug 31 15:24:54 2008 -0700
+++ b/src/share/vm/runtime/globals.hpp	Tue Sep 02 15:18:26 2008 -0400
@@ -294,6 +294,9 @@
   lp64_product(bool, CheckCompressedOops, trueInDebug,                      \
             "generate checks in encoding/decoding code")                    \
                                                                             \
+  product(bool, UseImplicitNullCheckForNarrowOop, true,                     \
+            "generate implicit null check in indexed addressing mode.")     \
+                                                                            \
   /* UseMembar is theoretically a temp flag used for memory barrier         \
    * removal testing.  It was supposed to be removed before FCS but has     \
    * been re-added (see 6401008) */                                         \