RFR: 8295060: Port PrintDeoptimizationDetails to UL [v2]

Johan Sjölen jsjolen at openjdk.org
Wed Oct 19 09:00:15 UTC 2022


On Tue, 18 Oct 2022 17:06:52 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix review comments
>
> test/hotspot/jtreg/compiler/uncommontrap/TestDeoptOOM.java line 45:
> 
>> 43:  *      -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::m9_1
>> 44:  *      -XX:+UnlockDiagnosticVMOptions
>> 45:  *      -XX:+UseZGC -XX:+LogCompilation -Xlog:disable -Xlog:deoptimization=trace -XX:+TraceDeoptimization -XX:+Verbose
> 
> Why you need `-Xlog:disable` ?

Short version: Mistake on my part, it shouldn't be there.

Long version: `-Xlog:disable` disables the default output to stdout, this is important when you want your logs to *not* go to stdout at all. Of course, we want our logs to go to stdout, so this is unnecessary here.

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

PR: https://git.openjdk.org/jdk/pull/10645


More information about the hotspot-dev mailing list