Skip to content
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

8318986: Improve GenericWaitBarrier performance #2041

Closed

Conversation

shipilev
Copy link
Member

@shipilev shipilev commented Dec 11, 2023

Clean backport to drastically improve safepoint performance under heavy load, fixing regression between JDK 11 and JDK 17.

Additional testing:

  • Ad-hoc performance runs, expected improvements
  • MacOS AArch64 server fastdebug, tier{1,2,3}

Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8318986 needs maintainer approval

Issue

  • JDK-8318986: Improve GenericWaitBarrier performance (Enhancement - P3 - Approved)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2041

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

Using diff file

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

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 11, 2023

👋 Welcome back shade! 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 changed the title Backport 30462f9da40d3a7ec18fcf46e2154fabb5fd4753 8318986: Improve GenericWaitBarrier performance Dec 11, 2023
@openjdk
Copy link

openjdk bot commented Dec 11, 2023

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

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 5, 2024

@shipilev This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@shipilev
Copy link
Member Author

shipilev commented Feb 6, 2024

Not now, bot.

@openjdk
Copy link

openjdk bot commented Mar 13, 2024

@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:

8318986: Improve GenericWaitBarrier performance

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 no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@shipilev shipilev marked this pull request as ready for review March 18, 2024 16:01
@shipilev
Copy link
Member Author

/approval request Clean backport to drastically improve safepoint performance under heavy load, fixing regression between JDK 11 and JDK 17. Applies cleanly. There is no bugtail in mainline since integration in Nov 2023. tier{1,2,3} tests pass. Risk is medium, as it touches the common code path for non-Linux platforms, but it is also frequently exercised, and thus a breakage would manifest often.

@openjdk
Copy link

openjdk bot commented Mar 18, 2024

⚠️ @shipilev 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 Mar 18, 2024
@openjdk
Copy link

openjdk bot commented Mar 18, 2024

@shipilev
8318986: The approval request has been created successfully.

@openjdk openjdk bot added the approval label Mar 18, 2024
@mlbridge
Copy link

mlbridge bot commented Mar 18, 2024

Webrevs

@shipilev
Copy link
Member Author

GHA failures are environmental.

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 15, 2024

@shipilev This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@shipilev
Copy link
Member Author

Not now, bot.

@bridgekeeper
Copy link

bridgekeeper bot commented May 15, 2024

@shipilev This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@shipilev
Copy link
Member Author

Not now, bot. We are planning this for October LTS release.

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed approval labels May 29, 2024
@shipilev
Copy link
Member Author

Re-ran tier{1,2,3} on MacOS AArch64, looks fine.

/integrate

@openjdk
Copy link

openjdk bot commented May 30, 2024

Going to push as commit 515bc9a.
Since your change was applied there have been 4 commits pushed to the master branch:

  • dcb2c35: 8295111: dpkg appears to have problems resolving symbolically linked native libraries
  • 8faeefc: 8289182: NMT: MemTracker::baseline should return void
  • e85eecb: 8288568: Reduce runtime of java.security microbenchmarks
  • 2d834b3: 8326446: The User and System of jdk.CPULoad on Apple M1 are inaccurate

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label May 30, 2024
@openjdk openjdk bot closed this May 30, 2024
@openjdk openjdk bot removed the ready Pull request is ready to be integrated label May 30, 2024
@openjdk openjdk bot removed the rfr Pull request is ready for review label May 30, 2024
@openjdk
Copy link

openjdk bot commented May 30, 2024

@shipilev Pushed as commit 515bc9a.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport clean integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

1 participant