diff src/share/vm/gc_implementation/g1/g1_globals.hpp @ 1087:23b9a8d315fc

6902701: G1: protect debugging code related to 6898948 with a debug flag Summary: Protected stats dump with a new develop flag; other than for the dump, reconciled product and non-product behaviour in face of the error. Reviewed-by: tonyp
author ysr
date Thu, 19 Nov 2009 10:19:19 -0800
parents 6270f80a7331
children 3fc996d4edd2
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1_globals.hpp	Fri Nov 13 11:55:26 2009 -0800
+++ b/src/share/vm/gc_implementation/g1/g1_globals.hpp	Thu Nov 19 10:19:19 2009 -0800
@@ -242,6 +242,10 @@
   product(bool, G1UseSurvivorSpaces, true,                                  \
           "When true, use survivor space.")                                 \
                                                                             \
+  develop(bool, G1FailOnFPError, false,                                     \
+          "When set, G1 will fail when it encounters an FP 'error', "       \
+          "so as to allow debugging")                                       \
+                                                                            \
   develop(bool, G1FixedTenuringThreshold, false,                            \
           "When set, G1 will not adjust the tenuring threshold")            \
                                                                             \