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

Ioi Lam iklam at openjdk.org
Thu Jun 12 22:23:27 UTC 2025


On Thu, 12 Jun 2025 22:02:43 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> 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

LGTM

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

Marked as reviewed by iklam (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25782#pullrequestreview-2922796507


More information about the hotspot-runtime-dev mailing list