Bump junit-jupiter-api from 5.9.2 to 5.9.3 by dependabot[bot] · Pull Request #461 · s4u/pgpverify-maven-plugin (original) (raw)

@dependabot

@dependabot Bot added the dependencies

Pull requests that update a dependency file

label

Apr 27, 2023

robot-simplify4u

@robot-simplify4u robot-simplify4u deleted the dependabot/maven/org.junit.jupiter-junit-jupiter-api-5.9.3 branch

April 27, 2023 01:08

pzygielo pushed a commit to pzygielo/pgpverify-maven-plugin that referenced this pull request

May 31, 2024

@cstamas

…#461)

Instead to immediately give up and sleep, they will sit a while to enter critical region. This is important for "hot" locks.

Explanation: currently a "loser" will immediately give up and will go to sleep 100ms if cannot enter critical region, even if winner exits critical region within next 5ms. The retry is needed to ensure that it is retried as much as given time/unit takes, that was before consumed by constant retries+sleeps. The logic still works, as if tryLock spends time/unit waiting on criticalRegion (which is possible only on VERY HIGHLY congested locks), there will be no retry happening.

Backport of 089796ba66d6f5f1a9d4fa7f797f613bae4f5373


https://issues.apache.org/jira/browse/MRESOLVER-522

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})