On Tue, 7 May 2024 22:50:18 GMT, Doug Lea <[email protected]> wrote:
> This set of changes address causes of poor utilization with small numbers of
> cores due to overly aggressive contention avoidance. A number of further
> adjustments were needed to still avoid most contention effects in deployments
> with large numbers of cores
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1833:
> 1831: if (phase != 0) { // else failed to start
> 1832: replaceable = true;
> 1833: if (w.top - w.base > 0) {
@DougLea Is this check sufficiently cheaper than trying to poll blind?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19131#discussion_r1597521380