On Fri, 3 Jul 2026 15:43:33 GMT, Doug Lea <[email protected]> wrote:

>> Changes signal filtering to avoid possible starvation
>
> Doug Lea has updated the pull request with a new target base due to a merge 
> or a rebase. The pull request now contains 144 commits:
> 
>  - Merge branch 'openjdk:master' into JDK-8373118
>  - undo manual padding; filter signals on propagate
>  - manual padding
>  - Strengthen some orderings
>  - weaken an ordering for internal push; randomize lazySubmit
>  - Merge branch 'openjdk:master' into JDK-8373118
>  - Better version of previous commit
>  - another set of activation tradeoffs
>  - More factoring/control experiments
>  - Merge branch 'openjdk:master' into JDK-8373118
>  - ... and 134 more: https://git.openjdk.org/jdk/compare/79be204a...fc3f9261

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2698:

> 2696:                         reuse = r;                   // stop prefering 
> free slot
> 2697:                 }
> 2698:                 else if (q != null)

@DougLea The only way we can hit this branch is if `!q.tryLockPhase()` was 
evaluated (as the case where `reuse == 0` so we can make the `else`-clause 
unconditional.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r3523954739

Reply via email to