Integrated: 8358738: AOT cache created without graal jit should not be used with graal jit

Vladimir Kozlov kvn at openjdk.org
Fri Jun 13 16:22:43 UTC 2025


On Thu, 12 Jun 2025 14:24:25 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.

This pull request has now been integrated.

Changeset: 12a0dd03
Author:    Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/12a0dd03b89cc3bf7f9d32b17eb41ff2bf687536
Stats:     36 lines in 4 files changed: 36 ins; 0 del; 0 mod

8358738: AOT cache created without graal jit should not be used with graal jit

Reviewed-by: iklam, ccheung

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

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


More information about the hotspot-runtime-dev mailing list