On Fri, 27 Feb 2026 16:49:11 GMT, Viktor Klang <[email protected]> wrote:

>> 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`?

Note that the aforementioned won't work.

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

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

Reply via email to