-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8374796: CompressedOops versions of runtime/cds/TestDefaultArchiveLoading.java aren't run #29125
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
…ding.java aren't run
|
👋 Welcome back coleenp! A progress list of the required criteria for merging this PR into |
|
@coleenp 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 67 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
stefank
left a comment
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 good and trivial.
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.
This could be a bug in jtreg-ext/requires/VMProps.java support but I was unable to find that.
Not a bug, it is a complicated behavior of these properties. Everyone falls into this trap every so often. Perhaps we should think to rename these properties so they are not as confusing.
vm.gc.Z means "Current VM potentially supports ZGC, so you can opt into it later with -XX:+UseZGC". So !vm.gc.Z effectively says "only run these tests if ZGC is not available in VM, e.g. by disabled build feature flag". Which means the subtests are disabled pretty much everywhere.
vm.gc == "Z" means "Current VM supports ZGC and has it currently enabled (e.g. with -XX:+UseZGC, e.g. with additional VM test options)". So vm.gc != "Z" says "This test should not be executed if ZGC is enabled, e.g. by some testing profile". Which I believe is the original intent of this @requires.
|
Looks to be a regression from JDK-8365932, where Erik fell into this trap this time around :) Pull this fix into JDK 26 as well, please. |
|
GHA build failure on Linux x86_64 fastdebug likely caused by infra issues. I fixed some this week. Merge from current master if you want to see clean GHA run. |
|
Thanks for reviewing Stefan and Aleksey, and thanks for explaining the GHA failure. It seemed like an infra issue. |
|
Going to push as commit 6d1bfdf.
Your commit was automatically rebased without conflicts. |
|
/backport jdk26 |
|
@coleenp The target repository There is a branch |
|
/backport :jdk26 |
|
@coleenp the backport was successfully created on the branch backport-coleenp-6d1bfdf7-jdk26 in my personal fork of openjdk/jdk. To create a pull request with this backport targeting openjdk/jdk:jdk26, just click the following link: The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:
If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk: |
This simple change from
@requires !vm.gc.Z
to
@requires vm.gc != "Z"
Makes the two coops version of this test run and not get:
Test results: passed: 2; did not meet platform requirements: 2
Neither of these enables the test to run.
@requires vm.gc.Z == false
or
@requires vm.opt.final.UseZGC == false
This could be a bug in jtreg-ext/requires/VMProps.java support but I was unable to find that.
Tested with the test.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/29125/head:pull/29125$ git checkout pull/29125Update a local copy of the PR:
$ git checkout pull/29125$ git pull https://git.openjdk.org/jdk.git pull/29125/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 29125View PR using the GUI difftool:
$ git pr show -t 29125Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/29125.diff
Using Webrev
Link to Webrev Comment