RFR: 8295060: Port PrintDeoptimizationDetails to UL [v3]

Thomas Stuefe stuefe at openjdk.org
Wed Oct 19 13:47:15 UTC 2022


On Wed, 19 Oct 2022 09:00:14 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> Hi!
>> 
>> This PR ports PrintDeoptimizationDetails to UL by mapping its output to debug level with tag deoptimization.
>
> Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove unnecessary -Xlog:disable

src/hotspot/share/runtime/deoptimization.cpp line 299:

> 297:       deoptimized_objects = deoptimized_objects || relocked;
> 298: #ifndef PRODUCT
> 299:       LogMessage(deoptimization) lm;

Drive-by: Does this not already incur costs? Does LogMessage not contain an internal buffer it allocates?

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

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


More information about the hotspot-dev mailing list