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

Tom Rodriguez never at openjdk.org
Wed Jul 2 17:40:44 UTC 2025


On Wed, 2 Jul 2025 11:27:25 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.
>
> Yudi Zheng has updated the pull request incrementally with one additional commit since the last revision:
> 
>   address comments

Looks great.

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

Marked as reviewed by never (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25356#pullrequestreview-2980076551


More information about the hotspot-dev mailing list