-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8309974: some JVMCI tests fail when VM options include -XX:+EnableJVMCI #14476
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
Conversation
👋 Welcome back dnsimon! A progress list of the required criteria for merging this PR into |
…Installer to inherit VM options passed to jtreg
@dougxc Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
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.
I must admit I am surprised by this situation. I never imagined that @module
directives would also be applied to the action to run the ClassfileInstaller
as it should not need anything of that kind - it is just a simple file copying utility. But I can see how jtreg has no way to know that. Makes me wonder though whether @modules
should only ever be applied to main/othervm
? We not only recommend using driver mode for ClassfileInstaller
we actively went through and changed a number of tests to do that!
So the fix seems fine in so far as the situation we have today, but I'm not convinced there isn't a jtreg issue here that needs further examination.
Thanks.
@dougxc This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 8 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
To be honest, it's still unclear to me why passing the extra VM options |
If a bug has been filed for this JTREG issue that @jonathan-gibbons is investigating, |
Thanks for the review David. /integrate |
Going to push as commit 8b4af46.
Your commit was automatically rebased without conflicts. |
This PR fixes a few JVMCI tests to run the
ClassFileInstaller
step with@run main/othervm
instead of@run driver
so that it inherits extra VM options passed to jtreg. This is required for these tests as they use JVMCI and module exports are needed when runningClassFileInstaller
on the test class itself.Thanks to @jonathan-gibbons for providing this solution.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/14476/head:pull/14476
$ git checkout pull/14476
Update a local copy of the PR:
$ git checkout pull/14476
$ git pull https://git.openjdk.org/jdk.git pull/14476/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 14476
View PR using the GUI difftool:
$ git pr show -t 14476
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/14476.diff
Webrev
Link to Webrev Comment