8386085: Livelock in AbstractQueuedSynchronizer.cleanQueue() when multiple threads do tryAcquire() with a short timeout and no permits available - #214
Conversation
…iple threads do tryAcquire() with a short timeout and no permits available Reviewed-by: dl, alanb
|
👋 Welcome back kshiroko! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
|
|
|
All windows failures are due to environment, not related to the JDK (it could not install VS) |
|
/approval request This PR fixes a long-standing bug in java.util.concurrent which leads to a livelock in all participating threads with 100% CPU consumption. Tested with reproducer and j.u.c. test on major platforms and CPUs. |
|
@kirill-shirokov |
|
@kirill-shirokov 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 issue a |
|
@kirill-shirokov This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
|
/open |
|
@kirill-shirokov This pull request is now open |
|
/approval request The fix has been integrated into tip and jdk27 (openjdk/jdk#31595), can we proceed with integrating to the lower versions (17, 21, 25, 26)? |
|
@kirill-shirokov |
Testing done:
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk26u.git pull/214/head:pull/214$ git checkout pull/214Update a local copy of the PR:
$ git checkout pull/214$ git pull https://git.openjdk.org/jdk26u.git pull/214/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 214View PR using the GUI difftool:
$ git pr show -t 214Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk26u/pull/214.diff
Using Webrev
Link to Webrev Comment