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

Yudi Zheng yzheng at openjdk.org
Wed Jun 11 16:49:53 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:

 - address comments
 - Merge remote-tracking branch 'upstream/master' into JDK-8357424
 - address comments
 - address comments
 - update copyright
 - [JVMCI] Avoid incrementing decompilation count for hosted compiled nmethod

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25356/files
  - new: https://git.openjdk.org/jdk/pull/25356/files/b72213ae..57fe5307

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

  Stats: 123326 lines in 1943 files changed: 80552 ins; 28041 del; 14733 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