On Wed, 4 Feb 2026 14:38:03 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 43 additional commits since
> the last revision:
>
> - Merge branch 'openjdk:master' into JDK-8373118
> - reduce interference after stalls
> - Avoid yield, for performance test
> - Don't oversignal LIFO
> - Try out different approach
> - Simplify scan mode control by moving and reworking topLevelExec and
> throwing on trim
> - Another set of contend vs deactivate vs park tradeoffs
> - Fix missing undo
> - Merge branch 'openjdk:master' into JDK-8373118
> - Use explicit store fences or atomics
> - ... and 33 more: https://git.openjdk.org/jdk/compare/40f1886a...7ae93ed7
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2811:
> 2809: if (q.base == b && t != null &&
> 2810: U.compareAndSetReference(a, k, t, null)) {
> 2811: q.base = b + 1;
Doesn't this mean that this write might end up not safely published? 🤔
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2768904069