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

Tobias Hartmann tobias.hartmann at oracle.com
Tue Mar 15 11:22:19 UTC 2016


Thanks, Nils!

Best regards,
Tobias

On 15.03.2016 12:03, Nils Eliasson wrote:
> Hi Tobias,
> 
> Looks good,
> 
> Regards,
> Nils
> 
> 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