Integrated: 8357424: [JVMCI] Avoid incrementing decompilation count for hosted compiled nmethod

Yudi Zheng yzheng at openjdk.org
Wed Jul 2 18:41:47 UTC 2025


On Wed, 21 May 2025 15:00:29 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:

> Hosted Truffle compilations are installed on the OptimizedCallTarget#profiledPERoot method. Any deoptimization contributes to its decompile count, which can easily exceed the PerMethodRecompilationCutoff threshold, permanently preventing highest tier compilation on this method. This PR exempts hosted compilations from this cutoff by ensuring their decompile count is not incremented for hosted compiled nmethods.

This pull request has now been integrated.

Changeset: ea86a20e
Author:    Yudi Zheng <yzheng at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ea86a20e6d74baea54df32415d9096d3b7bba1d7
Stats:     58 lines in 5 files changed: 48 ins; 1 del; 9 mod

8357424: [JVMCI] Avoid incrementing decompilation count for hosted compiled nmethod

Reviewed-by: dnsimon, never, cslucas

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

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


More information about the hotspot-dev mailing list