RFR: 8261455: Automatically generate the CDS archive if necessary [v4]

Yumin Qi minqi at openjdk.java.net
Fri Jan 7 22:13:11 UTC 2022


> This patch is re-coded after serial fixes related: 8275846, 8276787, 8279018 etc.
> original description(PR 5997):
> `----------------------------------------------------------------------------------`
> When shared archive (dynamic archive) failed to map due to damage of the archive file, dump/run jdk version mismatch or non-existence file etc, the new patch will automatically create a new shared archive if -XX:+AutoCreateSharedArchive specified with the name based on SharedArchiveFile.
> This is a revised patch based on the old PR: 5077 and after bug 8273152 integrated.
> `-----------------------------------------------------------------------------------`
> 
> Tests: tier1,tier2,tier3,tier4
> 
> Thanks
> Yumin

Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:

  Make FailMapInfo ctor with full path archive name, removed redundant check for magic number

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6920/files
  - new: https://git.openjdk.java.net/jdk/pull/6920/files/d0cc57db..7a101a35

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6920&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6920&range=02-03

  Stats: 42 lines in 5 files changed: 8 ins; 22 del; 12 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6920.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6920/head:pull/6920

PR: https://git.openjdk.java.net/jdk/pull/6920


More information about the hotspot-runtime-dev mailing list