hotspot/src/share/vm/runtime/globals.hpp
changeset 22856 03ad2cf18166
parent 22851 4c4b6a45be43
child 22858 f4a6f0eba875
--- a/hotspot/src/share/vm/runtime/globals.hpp	Tue Nov 26 18:38:19 2013 -0800
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Wed Nov 27 16:16:21 2013 -0800
@@ -2500,6 +2500,12 @@
   develop_pd(bool, ImplicitNullChecks,                                      \
           "Generate code for implicit null checks")                         \
                                                                             \
+  product_pd(bool, TrapBasedNullChecks,                                     \
+          "Generate code for null checks that uses a cmp and trap "         \
+          "instruction raising SIGTRAP.  This is only used if an access to" \
+          "null (+offset) will not raise a SIGSEGV, i.e.,"                  \
+          "ImplicitNullChecks don't work (PPC64).")                         \
+                                                                            \
   product(bool, PrintSafepointStatistics, false,                            \
           "Print statistics about safepoint synchronization")               \
                                                                             \