RFR: 8358738: AOT cache created without graal jit should not be used with graal jit
Vladimir Kozlov
kvn at openjdk.org
Thu Jun 12 14:29:40 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.
-------------
Commit messages:
- 8358738: AOT cache created without graal jit should not be used with graal jit
Changes: https://git.openjdk.org/jdk/pull/25782/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25782&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8358738
Stats: 36 lines in 2 files changed: 36 ins; 0 del; 0 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