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
8261838: Shenandoah: reconsider heap region iterators memory ordering #2593
8261838: Shenandoah: reconsider heap region iterators memory ordering #2593
Conversation
|
@shipilev This change now passes all automated pre-integration checks. 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 5 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
|
/integrate |
@shipilev Since your change was applied there have been 33 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit fd098e7. |
We use CASes to distributed workers between regions. Hotspot's default for atomic operations is memory_order_conservative, which emits two-way memory fences around the CASes at least on AArch64 and PPC64.
This seems to be excessive for region distribution code, and "relaxed" is enough, since we don't piggyback memory ordering on these.
This also calls for some refactoring in the code itself.
Additional testing:
hotspot_gc_shenandoah
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/2593/head:pull/2593
$ git checkout pull/2593