On Sun, 11 Jan 2026 17:11:38 GMT, Doug Lea <[email protected]> wrote:

>> Changes signal filtering to avoid possible starvation
>
> Doug Lea has updated the pull request with a new target base due to a merge 
> or a rebase. The incremental webrev excludes the unrelated changes brought in 
> by the merge/rebase. The pull request contains 33 additional commits since 
> the last revision:
> 
>  - Merge branch 'openjdk:master' into JDK-8373118
>  - reunify push; improve contention vs activation vs park balance
>  - Undo unrelated change
>  - Re-introduce acquiring array reads; re-arrange to rely on volatile base 
> index
>  - Change signalWork fencing; in-progress activation changes
>  - Merge branch 'openjdk:master' into JDK-8373118
>  - Split external push
>  - Undo/redo ordering changes
>  - Strengthen some orderings
>  - Merge branch 'openjdk:master' into JDK-8373118
>  - ... and 23 more: https://git.openjdk.org/jdk/compare/18d2870a...f42d2475

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2046:

> 2044:                     Thread.yield();          // reduce unproductive 
> scanning
> 2045:                     for (int s = SPIN_WAITS; (idle = w.phase & IDLE) != 
> 0 && --s != 0;)
> 2046:                         Thread.onSpinWait();

spinning _after_ yielding? 🤔

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2681620777

Reply via email to