On Wed, 1 Jul 2026 12:03:26 GMT, Doug Lea <[email protected]> wrote:
>> Changes signal filtering to avoid possible starvation
>
> Doug Lea has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Strengthen some orderings
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2080:
> 2078: else if ((idle = (phase = w.phase) & IDLE) !=
> 0) {
> 2079: phase = tryReactivate(w, phase, qid, r);
> 2080: if ((idle = phase & IDLE) != 0)
I guess we could do:
if ((idle = (phase = tryReactivate(w, phase, qid,
r)) & IDLE) != 0)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r3507622851