RFR: 8356192: Enable AOT code caching only on supported platforms [v2]

Aleksey Shipilev shade at openjdk.org
Mon May 12 13:01:52 UTC 2025


On Fri, 9 May 2025 23:23:04 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> @TheRealMDoerr reported failures in `runtime/cds/appcds` testing on PPC64 after [JDK-8350209](https://bugs.openjdk.org/browse/JDK-8350209) integration.
>> 
>> AOT code caching should be limited to supported platforms: x64 and aarch64.
>> 
>> Testing: GHA
>
> Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Limit platforms to run AOTCode test

src/hotspot/share/code/aotCodeCache.cpp line 92:

> 90: 
> 91: void AOTCodeCache::initialize() {
> 92: #if !(defined(AMD64) || defined(AARCH64))

Sounds like we need to also take care about Zero? E.g. `defined(ZERO) || (!defined(AMD64) && !defined(AARCH64))`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25158#discussion_r2084615238


More information about the hotspot-compiler-dev mailing list