[jdk25u-dev] RFR: 8371944: AOT configuration is corrupted when app closes System.out

Aleksey Shipilev shade at openjdk.org
Tue Dec 16 15:11:39 UTC 2025


Backporting to make AOT more reliable and for 25.0.3-oracle parity.

The change is not clean, because two major rewrites are not present in jdk25u-dev:
 - [JDK-8365932](https://bugs.openjdk.org/browse/JDK-8365932): Implementation of JEP 516: Ahead-of-Time Object Caching with Any GC
 - [JDK-8366475](https://bugs.openjdk.org/browse/JDK-8366475): Rename MetaspaceShared class to AOTMetaspace

Therefore, I had to reapply some chunks by hand. Please take a careful look against the original changeset.

Additional testing:
 - [x] MacOS AArch64 server fastdebug, `runtime/cds` passes

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

Commit messages:
 - Backport 1535d08f0ee5da42d9db9e196d6a620aabe9feea

Changes: https://git.openjdk.org/jdk25u-dev/pull/93/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=93&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371944
  Stats: 130 lines in 6 files changed: 117 ins; 9 del; 4 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/93.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/93/head:pull/93

PR: https://git.openjdk.org/jdk25u-dev/pull/93


More information about the jdk-updates-dev mailing list