RFR: 8358738: AOT cache created without graal jit should not be used with graal jit [v2]

Vladimir Kozlov kvn at openjdk.org
Thu Jun 12 22:02:43 UTC 2025


> We can't mix generation and usage of AOT cache when different JIT compilers are used (C2 vs Graal). Graal does different profiling settings and generate different code. We can only allow mix with Interpreter.
> 
> Record used compiler type in archive and check it when using archive.
> 
> Tested with tiers which use Graal.

Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision:

  Address comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25782/files
  - new: https://git.openjdk.org/jdk/pull/25782/files/3a8c8e5b..20c80da8

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

  Stats: 33 lines in 3 files changed: 15 ins; 15 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/25782.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25782/head:pull/25782

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


More information about the hotspot-runtime-dev mailing list