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

Ioi Lam iklam at openjdk.org
Sat May 10 05:40:03 UTC 2025


> 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.

Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' into 8356597-aot-cache-and-cds-archive-should-not-be-read-only
 - 8356597: AOT cache and CDS archive should not be created in read-only mode

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25137/files
  - new: https://git.openjdk.org/jdk/pull/25137/files/7c639936..020e0ca7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25137&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25137&range=00-01

  Stats: 3059 lines in 105 files changed: 1864 ins; 466 del; 729 mod
  Patch: https://git.openjdk.org/jdk/pull/25137.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25137/head:pull/25137

PR: https://git.openjdk.org/jdk/pull/25137


More information about the hotspot-runtime-dev mailing list