RFR: 8144578: TestOptionsWithRanges test only ever uses the default collector

Dmitry Dmitriev dmitry.dmitriev at oracle.com
Wed Jan 13 17:11:41 UTC 2016


Hello,

Please review small enhancement to the command line option validation 
test framework which allow to run test with different GCs.
Few comments:
1) Code which executed for testing was moved from JVMOptionsUtils.java 
to separate class(JVMStartup.java) to avoid overhead at java start-up 
for determining vm and gc type.
2) runJavaWithParam method in JVMOption.java was refactored to avoid 
code duplication.

JBS: https://bugs.openjdk.java.net/browse/JDK-8144578
webrev.00: http://cr.openjdk.java.net/~ddmitriev/8144578/webrev.00/ 
<http://cr.openjdk.java.net/%7Eddmitriev/8144578/webrev.00/>
Testing: tested on all platforms with different gc by RBT, failed flags 
were temporary removed from testing in TestOptionsWithRanges.java

Thanks,
Dmitry


More information about the hotspot-dev mailing list