Skip to content

8380390: Shenandoah: Missing store barrier when resetting bitmaps#611

Open
earthling-amzn wants to merge 2 commits into
openjdk:masterfrom
earthling-amzn:backport-8380390-to-jdk25u-dev
Open

8380390: Shenandoah: Missing store barrier when resetting bitmaps#611
earthling-amzn wants to merge 2 commits into
openjdk:masterfrom
earthling-amzn:backport-8380390-to-jdk25u-dev

Conversation

@earthling-amzn

@earthling-amzn earthling-amzn commented Jun 15, 2026

Copy link
Copy Markdown

Resolved a trivial conflict in includes.



Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • JDK-8386798 needs maintainer approval
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8380390 needs maintainer approval

Issues

  • JDK-8380390: Shenandoah: Missing store barrier when resetting bitmaps (Bug - P4)
  • JDK-8386798: Shenandoah: Missing load barrier when making assertions about mark bitmap (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk25u-dev.git pull/611/head:pull/611
$ git checkout pull/611

Update a local copy of the PR:
$ git checkout pull/611
$ git pull https://git.openjdk.org/jdk25u-dev.git pull/611/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 611

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk25u-dev/pull/611.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper

bridgekeeper Bot commented Jun 15, 2026

Copy link
Copy Markdown

👋 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

openjdk Bot commented Jun 15, 2026

Copy link
Copy Markdown

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk Bot changed the title Backport a13dd293a811a6ba829696e68cd2150de2cb2f17 8380390: Shenandoah: Missing store barrier when resetting bitmaps Jun 15, 2026
@openjdk

openjdk Bot commented Jun 15, 2026

Copy link
Copy Markdown

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk Bot added backport Port of a pull request already in a different code base rfr Pull request is ready for review labels Jun 15, 2026
@mlbridge

mlbridge Bot commented Jun 15, 2026

Copy link
Copy Markdown

Webrevs

@earthling-amzn

Copy link
Copy Markdown
Author

/approval request I believe this is a low risk change. It introduces a store barrier into the bitmap clearing sequence for Shenandoah to prevent other threads from observing stale mark bits. The issue manifests most readily on PPC machines with high core counts.

@openjdk

openjdk Bot commented Jun 16, 2026

Copy link
Copy Markdown

@earthling-amzn
8380390: The approval request has been created successfully.

@openjdk openjdk Bot added the approval Requires approval; will be removed when approval is received label Jun 16, 2026
@earthling-amzn

Copy link
Copy Markdown
Author

/approval cancel

We have a follow up PR coming.

@openjdk

openjdk Bot commented Jun 17, 2026

Copy link
Copy Markdown

@earthling-amzn
8380390: The approval request has been cancelled successfully.

@openjdk openjdk Bot removed the approval Requires approval; will be removed when approval is received label Jun 17, 2026
@earthling-amzn

Copy link
Copy Markdown
Author

/issue add 8386798

@openjdk

openjdk Bot commented Jun 19, 2026

Copy link
Copy Markdown

@earthling-amzn
Adding additional issue to issue list: 8386798: Shenandoah: Missing load barrier when making assertions about mark bitmap.

@pengxiaolong pengxiaolong left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

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

Labels

backport Port of a pull request already in a different code base rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

2 participants