On Sun, 18 Jan 2026 21:07:48 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:
> 
>   Simplify scan mode control by moving and reworking topLevelExec and 
> throwing on trim

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

> 2006:                         a, bp = slotOffset((cap - 1) & (b = q.base)));
> 2007:                     Object nt = U.getReference(
> 2008:                         a, np = slotOffset((cap - 1) & (nb = b + 1)));

@DougLea `nt` isn't used until it is overwritten by `nt = U.getReference(a, 
np);` I presume this is not intentional?

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

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

Reply via email to