RFR: 8356597: AOT cache and CDS archive should not be created in read-only mode

Vladimir Kozlov kvn at openjdk.org
Fri May 9 16:43:53 UTC 2025


On Fri, 9 May 2025 06:20:47 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> For some unknown historical reasons, AOT caches and CDS archives have been created in read-only mode. This makes them hard to delete, causing problems when running tests that creates a lot of these files.
> 
> Since all other JDK tools create binary files in read-write mode, AOT caches and CDS archives should do the same.

Good.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25137#pullrequestreview-2829030065


More information about the hotspot-runtime-dev mailing list