8356455: ZGC: Replace ZIntrusiveRBTree with IntrusiveRBTree#25112
8356455: ZGC: Replace ZIntrusiveRBTree with IntrusiveRBTree#25112xmas92 wants to merge 7 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back aboldtch! A progress list of the required criteria for merging this PR into |
|
@xmas92 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 4 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 |
Webrevs
|
|
@stefank had some comments about having to much logic inlined. So abstracted the extra tree logic into its own inner class. Currently re-running tests. |
stefank
left a comment
There was a problem hiding this comment.
Thanks for doing this cleanup. I have a few nits below.
|
Thanks for the reviews |
|
Going to push as commit 50e873f.
Your commit was automatically rebased without conflicts. |
JDK-8350441 was implemented before IntrusiveRBTree was introduced, and as such implemented its own intrusive red-black tree. Now that a shared data structure implementation is available, use that instead.
The switch is straight forward, and the O(1) left and right most node lookup which ZIntrusiveRBTree implements that IntrusiveRBTree does not is trivial to implement on top of the tree.
Initial performance evaluation shows no difference between the two implementations. And the functional testing passes.
Tested Oracle Supported platforms, Oracle tier1-8 ZGC testing tasks.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/25112/head:pull/25112$ git checkout pull/25112Update a local copy of the PR:
$ git checkout pull/25112$ git pull https://git.openjdk.org/jdk.git pull/25112/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 25112View PR using the GUI difftool:
$ git pr show -t 25112Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/25112.diff
Using Webrev
Link to Webrev Comment