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

> 2094:                                 if (src != qid)
> 2095:                                     U.putInt(w, WorkQueue.SOURCE, src = 
> qid);
> 2096:                                 U.storeFence();

@DougLea Do we need the general release fence here or would it make more sense 
to do a putIntRelease (we could make the write to q.base in the conditional (so 
different writes based on wherer src != qid or not).

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

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

Reply via email to