8228855: Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails after JDK-8227123
authorcoleenp
Wed, 31 Jul 2019 13:40:59 -0400
changeset 57606 b81062d47d61
parent 57605 694565998531
child 57607 8d3886985964
8228855: Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails after JDK-8227123 Summary: give SurvivorAlignmentInBytes a range same as ObjectAlignmentInBytes Reviewed-by: shade
src/hotspot/share/runtime/globals.hpp
--- a/src/hotspot/share/runtime/globals.hpp	Wed Jul 31 09:55:26 2019 -0400
+++ b/src/hotspot/share/runtime/globals.hpp	Wed Jul 31 13:40:59 2019 -0400
@@ -2360,6 +2360,7 @@
                                                                             \
   experimental(intx, SurvivorAlignmentInBytes, 0,                           \
            "Default survivor space alignment in bytes")                     \
+           range(8, 256)                                                    \
            constraint(SurvivorAlignmentInBytesConstraintFunc,AfterErgo)     \
                                                                             \
   product(ccstr, DumpLoadedClassList, NULL,                                 \