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

Yudi Zheng yzheng at openjdk.org
Wed May 21 15:10:30 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25356/files
  - new: https://git.openjdk.org/jdk/pull/25356/files/8fcd7104..ef4a4c98

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25356&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25356&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/25356.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25356/head:pull/25356

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


More information about the graal-dev mailing list