[9] RFR(XS): 8151882: -XX:+Verbose prints messages even if no other flag is set

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Mar 15 16:33:35 UTC 2016



On 3/15/16 3:25 AM, Tobias Hartmann wrote:
> Hi,
> please review the following patch:
> https://bugs.openjdk.java.net/browse/JDK-8151882
> http://cr.openjdk.java.net/~thartmann/8151882/webrev.00/
> Running the VM with -XX:+Verbose prints dozens of register allocator debug messages even if no additional flag like -XX:+PrintOpto is specified. This makes it hard to filter out relevant information if other debug flags are used in combination with -XX:+Verbose. According to the documentation, -XX:+Verbose should only "Print additional debugging information from other modes" but should not print anything on its own.
> I changed the code to only print messages if PrintOpto && WizardMode is set. This is consistent with other place in reg_split.cpp where we print debug info.
> Thanks,
> Tobias

More information about the hotspot-compiler-dev mailing list