New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8261455: Automatically generate the CDS archive if necessary #5997
Conversation
|
/label remove hotspot |
@yminqi |
@yminqi |
Webrevs
|
test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java
Outdated
Show resolved
Hide resolved
…ned up some check code
// 10.3 run with the created dynamic archive with -XX:+AutoCreateSharedArchive should pass | ||
print("10.3 run with the created dynamic archive with -XX:+AutoCreateSharedArchive should pass"); | ||
run(TOP_NAME, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a check to make sure the dynamic archive hasn't been changed after run?
test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java
Outdated
Show resolved
Hide resolved
test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java
Outdated
Show resolved
Hide resolved
I will be out of work for a while so close this PR. @iklam will resume the work and send new PR for this. |
Please review,
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
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/5997/head:pull/5997
$ git checkout pull/5997
Update a local copy of the PR:
$ git checkout pull/5997
$ git pull https://git.openjdk.java.net/jdk pull/5997/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 5997
View PR using the GUI difftool:
$ git pr show -t 5997
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/5997.diff