RFR(XS): 8151882: -XX:+Verbose prints messages even if no other flag is set
tobias.hartmann at oracle.com
Tue Mar 15 11:22:19 UTC 2016
On 15.03.2016 12:03, Nils Eliasson wrote:
> Hi Tobias,
> Looks good,
> On 2016-03-15 11:25, Tobias Hartmann wrote:
>> please review the following patch:
>> 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.
More information about the hotspot-compiler-dev