RFR: 8295060: Port PrintDeoptimizationDetails to UL [v3]
Johan Sjölen
jsjolen at openjdk.org
Fri Oct 21 09:11:20 UTC 2022
On Wed, 19 Oct 2022 13:44:14 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> 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?
Sorry, I missed to respond to this: It does incur costs, but it's surrounded by `#ifndef PRODUCT`, so I don't think we mind.
-------------
PR: https://git.openjdk.org/jdk/pull/10645
More information about the hotspot-dev
mailing list