RFR: 8355514: [premain] rename AOT code flags and adjust their ergonomic settings

Aleksey Shipilev shade at openjdk.org
Mon May 5 10:53:12 UTC 2025


On Fri, 2 May 2025 15:48:11 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Rename AOT code flags and adjust their ergonomic settings to match changes in mainline: https://github.com/openjdk/jdk/pull/24740
> 
> This is second part of changes in `leyden/premain` branch. Adapters caching changes will be in separate PR.
> 
> Tested with premain-tier1, tier1-3

Looks reasonable, with one nit:

src/hotspot/share/cds/metaspaceShared.cpp line 2139:

> 2137:     TrainingData::print_archived_training_data_on(tty);
> 2138: 
> 2139:     if (AOTCodeCache::is_dumping_code()) {

`LoadCachedCode` should be replaced with `is_using_code()`?

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

Marked as reviewed by shade (Committer).

PR Review: https://git.openjdk.org/leyden/pull/65#pullrequestreview-2814148236
PR Review Comment: https://git.openjdk.org/leyden/pull/65#discussion_r2073051642


More information about the leyden-dev mailing list