RFR: 8295060: Port PrintDeoptimizationDetails to UL

Johan Sjölen jsjolen at openjdk.org
Tue Oct 11 09:28:28 UTC 2022


On Tue, 11 Oct 2022 09:21:46 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.

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

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


More information about the hotspot-dev mailing list