RFR (S): 8143958: CDS Shared flags need constraint function

Gerard Ziemski gerard.ziemski at oracle.com
Fri Mar 25 16:26:39 UTC 2016


hi all,

Please review this small fix which adds constraints to CDS flags. Please note that the max range value is based on the sum of min values of the other 3 flags, so setting one flag’s value to max while leaving the other 3 flags at their defaults will trigger constraint failure, which test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java accounts for.

https://bugs.openjdk.java.net/browse/JDK-8143958
http://cr.openjdk.java.net/~gziemski/8143958_rev1

Passes JPRT hotspot and RBT CommandLine/OptionsValidation/TestOptionsWithRanges on all platforms.



More information about the hotspot-runtime-dev mailing list