On Mon, 31 Aug 2026 20:56:23 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:
> 
>   vary allocation and sync for testing

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

> 1430:                         (t = (ForkJoinTask<?>)U.getReferenceAcquire(
> 1431:                             qa, qp = slotOffset(qm & (qb = q.base)))) 
> != null &&
> 1432:                         q.base == qb &&

I presume that the `q.base == qb` is a consistency-check since `qb = q.base` is 
assigned on the line just before?

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

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

Reply via email to