On Sun, 22 Nov 2026 20:41:34 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 pull request now contains 211 commits: > > - Merge branch 'openjdk:master' into JDK-8373118 > - Refactor tryTerminate, regularlize constructions, rewrite design doc > - Use adaptation of previous interference check; long base > - restore lazySUbmit semantics > - Repair clobbered line; other misc tunings > - Revert lazySubmit; add non-public randomSubmit; other misc tunings > - Merge branch 'openjdk:master' into JDK-8373118 > - Rondomize lazySubmit; balance costs across use cases > - Merge branch 'openjdk:master' into JDK-8373118 > - Re-remove helpSignalWork > - ... and 201 more: https://git.openjdk.org/jdk/compare/78bf06f4...cd9ab7ab
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2165: > 2163: int sp; long c; WorkQueue v; > 2164: if ((sp = (int)(c = ctl)) == 0 || > 2165: (v = qs[sp & (n - 1)]) == null) Can we be sure that `qs` is still valid here (what if there was a worker registered in between obtaining `queues` and reading `ctl` on the line above? In other words, what if the stackPred is referring to a placement in a new `queues`? (Or perhaps I'm misthinking this) ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r4681194671
