RFR: 8350488: [leyden] Experimental AOT-only mode

duke duke at openjdk.org
Fri Feb 21 19:41:08 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`

@shipilev 
Your change (at version 3635e59b12eef7ced78b7ce4164835137cf51ebc) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/leyden/pull/44#issuecomment-2675392100


More information about the leyden-dev mailing list