RFR: 8357424: [JVMCI] Avoid incrementing decompilation count for hosted compiled nmethod [v2]
Doug Simon
dnsimon at openjdk.org
Wed May 21 21:15:52 UTC 2025
On Wed, 21 May 2025 15:10:30 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:
>
> update copyright
src/hotspot/share/jvmci/jvmciRuntime.hpp line 49:
> 47: friend class JVMCIVMStructs;
> 48:
> 49: // Is HotSpotNmethod.name non-null? If so, the value is
This comment needs to be moved inside the bitfield struct above `_has_name`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25356#discussion_r2101179755
More information about the graal-dev
mailing list