On Fri, 27 Feb 2026 16:05:50 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:
> 
>   Undo some external submit and signalling changes

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

> 1296:                 if (room < 0)
> 1297:                     throw new RejectedExecutionException("Queue 
> capacity exceeded");
> 1298:                 if ((room == 0 || room == m ||

Not that it would make any visible difference, but I guess we could eliminate 
one conditional by doing something like `(room | m) == m`?

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

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

Reply via email to