RFR: 8373118: Test java/lang/Thread/virtual/Starvation.java timed out [v45]
Viktor Klang
vklang at openjdk.org
Fri Feb 27 16:52:28 UTC 2026
On Fri, 27 Feb 2026 16:05:50 GMT, Doug Lea <dl at openjdk.org> 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
More information about the core-libs-dev
mailing list