RFR(S): 8198608: Improvements to command-line flags printing

Schmidt, Lutz lutz.schmidt at sap.com
Fri Feb 23 16:48:59 UTC 2018


Dear all,

may I please request reviews for this small enhancement:

Bug:     https://bugs.openjdk.java.net/browse/JDK-8198608
Webrev:  http://cr.openjdk.java.net/~lucy/webrevs/8198608.00/

The code in Flag::print_on() so far wasn’t very easy to understand. Changing the layout of what was printed required some deep thinking. I hope that, with my changes, future modifications will be easier.

The before/after output of -XX:+PrintFlagsFinal is identical, except for those argument names which are longer than expected. In that case, the new version prints one space less, which is by intention.

Thank you!
Lutz



Dr. Lutz Schmidt | SAP JVM | PI  SAP CP Core | T: +49 (6227) 7-42834



More information about the hotspot-runtime-dev mailing list