Skip to content

8370039: GenShen: array copy SATB barrier improvements#503

Open
earthling-amzn wants to merge 3 commits intoopenjdk:masterfrom
earthling-amzn:backport-JDK-8370039-to-jdk25u-dev
Open

8370039: GenShen: array copy SATB barrier improvements#503
earthling-amzn wants to merge 3 commits intoopenjdk:masterfrom
earthling-amzn:backport-JDK-8370039-to-jdk25u-dev

Conversation

@earthling-amzn
Copy link
Copy Markdown

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


Progress

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

Issues

  • JDK-8370039: GenShen: array copy SATB barrier improvements (Enhancement - P4 - Requested)
  • JDK-8373116: Genshen: arraycopy_work should be always done for arrays in old gen during young concurrent marking (Bug - P3 - Requested)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 503

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented Apr 23, 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 23, 2026

❗ 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 f8cf9ca69cfef286c80559bfe1d147b6303d10d2 8370039: GenShen: array copy SATB barrier improvements Apr 23, 2026
@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 23, 2026

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 clean Identical backport; no merge resolution required labels Apr 23, 2026
@openjdk
Copy link
Copy Markdown

openjdk Bot commented Apr 29, 2026

⚠️ @earthling-amzn This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

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

mlbridge Bot commented Apr 29, 2026

Webrevs

earthling-amzn and others added 2 commits May 6, 2026 15:10
…old gen during young concurrent marking

8372498: [genshen] gc/TestAllocHumongousFragment.java#generational causes intermittent SIGSEGV crashes

Reviewed-by: wkemper, kdnilsen
@openjdk openjdk Bot removed the clean Identical backport; no merge resolution required label May 6, 2026
@earthling-amzn
Copy link
Copy Markdown
Author

/issue add JDK-8373116

@openjdk
Copy link
Copy Markdown

openjdk Bot commented May 6, 2026

@earthling-amzn
Adding additional issue to issue list: 8373116: Genshen: arraycopy_work should be always done for arrays in old gen during young concurrent marking.

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.

Copy link
Copy Markdown

@pengxiaolong pengxiaolong left a comment

Choose a reason for hiding this comment

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

Thanks for the effort on backport.

@earthling-amzn
Copy link
Copy Markdown
Author

/approval request This changes fixes an issue that would cause the generational mode for Shenandoah to exercise the array copy barrier twice in some situations. It is a performance improvement and it also simplifies the code somewhat. This PR also contains a follow up fix.

@openjdk
Copy link
Copy Markdown

openjdk Bot commented May 8, 2026

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

@openjdk openjdk Bot added the approval Requires approval; will be removed when approval is received label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval Requires approval; will be removed when approval is received 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.

4 participants