Skip to content

8386085: Livelock in AbstractQueuedSyncronizer.cleanQueue() when multiple threads do tryAcquire() with a short timeout and no permits available#6

Open
kirill-shirokov wants to merge 1 commit into
openjdk:masterfrom
kirill-shirokov:8386085-backport

Conversation

@kirill-shirokov

@kirill-shirokov kirill-shirokov commented Jun 19, 2026

Copy link
Copy Markdown
Member

Testing done:



Progress

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

Issue

  • JDK-8386085: Livelock in AbstractQueuedSyncronizer.cleanQueue() when multiple threads do tryAcquire() with a short timeout and no permits available (Bug - P3)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk27u.git pull/6/head:pull/6
$ git checkout pull/6

Update a local copy of the PR:
$ git checkout pull/6
$ git pull https://git.openjdk.org/jdk27u.git pull/6/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 6

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk27u/pull/6.diff

Using Webrev

Link to Webrev Comment

…iple threads do tryAcquire() with a short timeout and no permits available

Reviewed-by: dl, alanb
@bridgekeeper

bridgekeeper Bot commented Jun 19, 2026

Copy link
Copy Markdown

👋 Welcome back kshiroko! 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 commented Jun 19, 2026

Copy link
Copy Markdown

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk Bot changed the title Backport 7644d4afd437b64674a86012ab65dd0c9861cafe 8386085: Livelock in AbstractQueuedSyncronizer.cleanQueue() when multiple threads do tryAcquire() with a short timeout and no permits available Jun 19, 2026
@openjdk

openjdk Bot commented Jun 19, 2026

Copy link
Copy Markdown

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

@openjdk openjdk Bot added backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required labels Jun 19, 2026
@openjdk

openjdk Bot commented Jun 19, 2026

Copy link
Copy Markdown

⚠️ @kirill-shirokov 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 Jun 19, 2026
@mlbridge

mlbridge Bot commented Jun 19, 2026

Copy link
Copy Markdown

Webrevs

@AlanBateman

Copy link
Copy Markdown

I think Viktor plans to backport this to jdk27 while that release is in RDP1.

@kirill-shirokov

Copy link
Copy Markdown
Member Author

@AlanBateman, oh, I see. I'm just trying to expedite the backports (especially 17). Goetz deferred some of the backports until there is a PR for jdk27 / 27u (openjdk/jdk25u-dev#624 (comment)), so it was quite easy for me to create 27 backports as well. I hope it will not create any disturbance to the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

2 participants