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

Aleksey Shipilev shade at openjdk.org
Fri May 9 16:25:52 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.

Marked as reviewed by shade (Reviewer).

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

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


More information about the hotspot-runtime-dev mailing list