Integrated: 8350488: [leyden] Experimental AOT-only mode
Aleksey Shipilev
shade at openjdk.org
Fri Feb 21 20:30:12 UTC 2025
On Fri, 21 Feb 2025 10:36:19 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> There are interesting use cases where we want the AOT-only mode. We can emulate this in current Leyden prototype by relying on preload code, and stopping any profiling, which would naturally lead to no JIT compilations. This would also make interpreter code a bit faster in case we need to fall back there. This mode looks also helpful for studying the compiler dynamics.
>
> Additional testing:
> - [x] Eyeballing compilation logs with `-XX:+PreloadOnly`
> - [x] Linux x86_64 server fastdebug, `runtime/cds`
> - [x] Linux x86_64 server fastdebug, `runtime/cds` with `-XX:+PreloadOnly`
This pull request has now been integrated.
Changeset: aa4e9472
Author: Aleksey Shipilev <shade at openjdk.org>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL: https://git.openjdk.org/leyden/commit/aa4e947287074155685685454d3714e503c76951
Stats: 34 lines in 10 files changed: 22 ins; 0 del; 12 mod
8350488: [leyden] Experimental AOT-only mode
Reviewed-by: kvn
-------------
PR: https://git.openjdk.org/leyden/pull/44
More information about the leyden-dev
mailing list