8384080: Shenandoah: Simplify C1 CAS barriers#31068
8384080: Shenandoah: Simplify C1 CAS barriers#31068shipilev wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
|
@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 26 new commits pushed to the
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 |
|
The total number of required reviews for this PR has been set to 2 based on the presence of this label: |
|
Looks like it passes the tests. @rkennke, @earthling-amzn, @kdnilsen -- please take a look. I would like to integrate it early next week, if nothing blocking appears. This would allow us to eliminate |
rkennke
left a comment
There was a problem hiding this comment.
This is a nice simplification! The changes look good!
In Shenandoah LBE, we have switched to a more succinct way to deal with concurrent evacuation false negatives in atomics: do the fix up early on, thus avoiding any need for CAS retry logic.
This one handles the C1 side. Since we no longer have Shenandoah-specific LIR nodes, and we do not call into platform-specific
ShenandoahBarrierSetAssemblerfrom their respective emits, this allows us to do everything in shared code, greatly reducing platform-specific implementations. The barrier bindings follow the shape we did in native barrier set, JDK-8383810.Additional testing:
hotspot_gc_shenandoahallwith-XX:+UseShenandoahGC -XX:TieredStopAtLevel=1allwith-XX:+UseShenandoahGC -XX:TieredStopAtLevel=1-XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive-XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressiveProgress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31068/head:pull/31068$ git checkout pull/31068Update a local copy of the PR:
$ git checkout pull/31068$ git pull https://git.openjdk.org/jdk.git pull/31068/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 31068View PR using the GUI difftool:
$ git pr show -t 31068Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31068.diff
Using Webrev
Link to Webrev Comment