RFR: 8373118: Test java/lang/Thread/virtual/Starvation.java timed out [v26]
Viktor Klang
vklang at openjdk.org
Wed Jan 14 13:05:28 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 1988:
> 1986: }
> 1987: }
> 1988: if (rescans > 0)
If avoiding arithmetic turns out successful, we might just introduce `static final` constants and treat this as a regular state machine :)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2690340971
More information about the core-libs-dev
mailing list