RFR: 8261455: Automatically generate the CDS archive if necessary

Yumin Qi minqi at openjdk.java.net
Thu Dec 23 00:35:41 UTC 2021


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

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

Commit messages:
 - 8261455: Automatically generate the CDS archive if necessary

Changes: https://git.openjdk.java.net/jdk/pull/6920/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6920&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261455
  Stats: 727 lines in 11 files changed: 704 ins; 9 del; 14 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