RFR: 8332113: Update nsk.share.Log to be always verbose [v2]

Leonid Mesnik lmesnik at openjdk.org
Fri Jun 14 00:07:24 UTC 2024


On Thu, 13 Jun 2024 23:40:31 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   added check in enableVerbose
>
> test/hotspot/jtreg/vmTestbase/nsk/share/Log.java line 130:
> 
>> 128:      * Default value is <code>0</code> a.k.a. <code>TraceLevel.INFO</code>;
>> 129:      */
>> 130:     private final int traceLevel = TraceLevel.TRACE_DEBUG + 1;
> 
> Can you explain this change?

The intention is to print always all logged messages. So we should set the highest tracing level for the logger to work in debug mode.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/19613#discussion_r1639061352


More information about the hotspot-runtime-dev mailing list