-
Notifications
You must be signed in to change notification settings - Fork 108
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
8304168: [lworld] CDS tests fail with --enable-preview patched value classes #832
Conversation
--enable-preview adds --patch-module to patch value classes into java.base. The patching is incompatible with CDS in some cases.
👋 Welcome back rriggs! A progress list of the required criteria for merging this PR into |
Webrevs
|
Is this just a temporary fix? We would need debugging to work with |
@RogerRiggs This change is no longer ready for integration - check the PR body for details. |
Temporary in the sense that until value classes are fully integrated, some mechanism is needed to include them when --enable-preview or not. And that optionality will need to work with CDS in some yet to be determined fashion. |
The test failures in jdi are not due to --enable-preview, for now only address the cds test failure. |
I think it may be better to problem list this test and create a JBS issue to follow up how CDS works with |
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.
Looks reasonable to me.
Problem listing sounds good as well. This just causes lots of noise in testing in the CI so it would be nice to get a fix in soon. |
@RogerRiggs this pull request can not be integrated into git checkout 8304168-cds-test-fails
git fetch https://git.openjdk.org/valhalla.git lworld
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge lworld"
git push |
@RogerRiggs This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@RogerRiggs This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
When --enable-preview is true, the patching of some java.base classes as value classes disables CDS.
Subsequently the CDS tests fail.
For a CDS, disable Valhalla when --enable-preview is set so java.base is not patched with value classes.
Progress
Integration blocker
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/832/head:pull/832
$ git checkout pull/832
Update a local copy of the PR:
$ git checkout pull/832
$ git pull https://git.openjdk.org/valhalla.git pull/832/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 832
View PR using the GUI difftool:
$ git pr show -t 832
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/832.diff
Webrev
Link to Webrev Comment