RFR: 8261455: Automatically generate the CDS archive if necessary [v5]
Yumin Qi
minqi at openjdk.java.net
Mon Jan 10 21:17:15 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 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 six additional commits since the last revision:
- Set SharedArchiveFile to NULL when using default archive as base
- Merge branch 'master' into jdk-8261455
- Make FailMapInfo ctor with full path archive name, removed redundant check for magic number
- Fixed multiple isssues, added test cases, cleaned code
- Set ArchiveClassesAtExit when AutoCreateSharedArchive is enabled
- 8261455: Automatically generate the CDS archive if necessary
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6920/files
- new: https://git.openjdk.java.net/jdk/pull/6920/files/7a101a35..305ce603
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6920&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6920&range=03-04
Stats: 11191 lines in 365 files changed: 7705 ins; 2454 del; 1032 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