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

Nils Eliasson nils.eliasson at oracle.com
Tue Mar 15 11:03:05 UTC 2016

Hi Tobias,

Looks good,


On 2016-03-15 11:25, 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