RFR: 8295060: Port PrintDeoptimizationDetails to UL
David Holmes
dholmes at openjdk.org
Wed Oct 12 00:19:12 UTC 2022
On Tue, 11 Oct 2022 09:22:24 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.
>
> src/hotspot/share/runtime/vframeArray.cpp line 338:
>
>> 336:
>> 337: #ifndef PRODUCT
>> 338: auto log_deopt = [](int i, intptr_t* addr) {
>
> This usage of lambdas is needed to avoid crossing initialization in the switch statement.
?? I only see one usage in the switch statement so don't understand why this is not inline as normal logging code would be.
-------------
PR: https://git.openjdk.org/jdk/pull/10645
More information about the hotspot-dev
mailing list