The test in runtime/CommandLine/OptionsValidation/TestOptionsWithRanges checks ranges of command line options. It ever only does so with the default collector, ignoring any collectors set on the command line.
This is problematic, because this means that functionality that is only implemented for collectors other than the default collector is never even tested. Bugs likeJDK-8144573 that are only found by accident with the current scheme, and show that this leads to a highly reduced test coverage.
This is problematic, because this means that functionality that is only implemented for collectors other than the default collector is never even tested. Bugs like
- relates to
-
JDK-8145190 MinTLABSize can cause overflow problem with CMS GC
-
- Resolved
-
-
JDK-8145192 'count' variable can overflow in PSMarkSweep::invoke on 64 bit JVM
-
- Resolved
-
-
JDK-8145204 JVM can hang when ParGCArrayScanChunk=4294967296 and ParallelGC is used
-
- Resolved
-
-
JDK-8144573 TLABWasteIncrement=max_jint fires an assert on SPARC for non-G1 GC mode
-
- Resolved
-