On Wed, 14 Jan 2026 12:41: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:
> 
>   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

Reply via email to