RFR: 8373118: Test java/lang/Thread/virtual/Starvation.java timed out [v26]
Viktor Klang
vklang at openjdk.org
Sun Jan 18 02:43:42 UTC 2026
On Wed, 14 Jan 2026 12:41: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:
>
> Another set of contend vs deactivate vs park tradeoffs
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1980:
> 1978: signalWork(q, nb);
> 1979: rescans = 1;
> 1980: if (taken++ == 0 || src != qid)
or `++taken == 1`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2702013524
More information about the core-libs-dev
mailing list