RFR(XS): 8146187: Print develop and nonproduct flags by -XX:+PrintFlags* options in debug build

Dmitry Dmitriev dmitry.dmitriev at oracle.com
Tue Jan 19 11:32:30 UTC 2016


Hello,

Please review small fix for printing flags functionality. This fix 
return ability to print develop and not product flags in debug VM by 
-XX:+PrintFlags* options.
Few comments:
1) "if (printRanges) {" on line 407 in globals.cpp was deleted, because 
it located in else branch of "if (!printRanges) {" and therefore always 
true.
2) TestOptionsWithRanges.java was corrected to not pick develop and not 
product flags.

JBS: https://bugs.openjdk.java.net/browse/JDK-8146187
webrev.00: http://cr.openjdk.java.net/~ddmitriev/8146187/webrev.00/ 
<http://cr.openjdk.java.net/%7Eddmitriev/8146187/webrev.00/>
Testing: JPRT, hotspot_all, vm.quick

Thanks,
Dmitry


More information about the hotspot-runtime-dev mailing list