-
Couldn't load subscription status.
- Fork 6.1k
8276796: gc/TestSystemGC.java large pages subtest fails with ZGC #6310
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 shade! A progress list of the required criteria for merging this PR into |
Webrevs
|
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.
|
@shipilev 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 2 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 |
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 like a sensible fix.
|
Thanks for reviews. I'll do another merge to pick up Windows x86_64 GHA fixes to make sure this still works properly on Windows, and then push. |
|
GHA tests are green. /integrate |
|
Going to push as commit 91bb0d6.
Your commit was automatically rebased without conflicts. |
ZGC would not start when it cannot allocate the heap with
-XX:+UseLargePages. This makes theUseLargePagessubtest fail on systems with (default)nr_hugepages = 0. It was exposed after JDK-8269077 moved that test config from G1-specific to generic one.While fixing this bug, I decided to massage a test a bit: make it consistently choosing the configuration based on GC availability, doing
UseLargePagestests only for GCs that fall back to non-large pages if not available, added test IDs. This basically goes the other way JDK-8269077 went: put in the GC-specific configs.Additional testing:
gc/TestSystemGC.java(runs all 5 configs)gc/TestSystemGC.java,TEST_VM_OPTS=-XX:+UseSerialGC(runs 1 config)gc/TestSystemGC.java,TEST_VM_OPTS=-XX:+UseParallelGC(runs 1 config)gc/TestSystemGC.java,TEST_VM_OPTS=-XX:+UseG1GC(runs 1 config)gc/TestSystemGC.java,TEST_VM_OPTS=-XX:+UseShenandoahGC(runs 1 config)gc/TestSystemGC.java,TEST_VM_OPTS=-XX:+UseZGC(runs 1 config)Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/6310/head:pull/6310$ git checkout pull/6310Update a local copy of the PR:
$ git checkout pull/6310$ git pull https://git.openjdk.java.net/jdk pull/6310/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 6310View PR using the GUI difftool:
$ git pr show -t 6310Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/6310.diff