Skip to content

8335355: Shenandoah: Fix race condition in gc/shenandoah/mxbeans/TestPauseNotifications.java#30774

Closed
earthling-amzn wants to merge 1 commit intoopenjdk:masterfrom
earthling-amzn:fix-test-pause-notifications
Closed

8335355: Shenandoah: Fix race condition in gc/shenandoah/mxbeans/TestPauseNotifications.java#30774
earthling-amzn wants to merge 1 commit intoopenjdk:masterfrom
earthling-amzn:fix-test-pause-notifications

Conversation

@earthling-amzn
Copy link
Copy Markdown
Contributor

@earthling-amzn earthling-amzn commented Apr 16, 2026

This test was making assertions about variables that could be modified concurrently by the gc notification listener thread. Pause notifications are emitted before cycle notifications, so the test could observe an increase in pause duration without the commensurate increase in cycle duration.



Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 1 Reviewer, 1 Author)

Issue

  • JDK-8335355: Shenandoah: Fix race condition in gc/shenandoah/mxbeans/TestPauseNotifications.java (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/30774/head:pull/30774
$ git checkout pull/30774

Update a local copy of the PR:
$ git checkout pull/30774
$ git pull https://git.openjdk.org/jdk.git pull/30774/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 30774

View PR using the GUI difftool:
$ git pr show -t 30774

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/30774.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Apr 16, 2026

👋 Welcome back wkemper! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 16, 2026

@earthling-amzn 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:

8335355: Shenandoah: Fix race condition in gc/shenandoah/mxbeans/TestPauseNotifications.java

Reviewed-by: kdnilsen, xpeng

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 88 new commits pushed to the master branch:

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 master branch, type /integrate in a new comment.

@openjdk openjdk Bot added hotspot-gc hotspot-gc-dev@openjdk.org shenandoah shenandoah-dev@openjdk.org labels Apr 16, 2026
@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 16, 2026

@earthling-amzn The following labels will be automatically applied to this pull request:

  • hotspot-gc
  • shenandoah

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk Bot added the rfr Pull request is ready for review label Apr 16, 2026
@mlbridge
Copy link
Copy Markdown

mlbridge Bot commented Apr 16, 2026

Webrevs

Copy link
Copy Markdown
Contributor

@kdnilsen kdnilsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@openjdk openjdk Bot added the ready Pull request is ready to be integrated label Apr 16, 2026
@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 16, 2026

The total number of required reviews for this PR has been set to 2 based on the presence of this label: hotspot-gc. This can be overridden with the /reviewers command.

@openjdk openjdk Bot removed the ready Pull request is ready to be integrated label Apr 16, 2026
@openjdk openjdk Bot added the ready Pull request is ready to be integrated label Apr 20, 2026
@earthling-amzn
Copy link
Copy Markdown
Contributor Author

/integrate

@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 20, 2026

Going to push as commit 35a499e.
Since your change was applied there have been 88 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk Bot added the integrated Pull request has been integrated label Apr 20, 2026
@openjdk openjdk Bot closed this Apr 20, 2026
@openjdk openjdk Bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Apr 20, 2026
@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 20, 2026

@earthling-amzn Pushed as commit 35a499e.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotspot-gc hotspot-gc-dev@openjdk.org integrated Pull request has been integrated shenandoah shenandoah-dev@openjdk.org

Development

Successfully merging this pull request may close these issues.

3 participants