RFR: 8373118: Test java/lang/Thread/virtual/Starvation.java timed out [v32]
Viktor Klang
vklang at openjdk.org
Mon Feb 9 21:31:03 UTC 2026
On Mon, 9 Feb 2026 09:32:51 GMT, Doug Lea <dl at openjdk.org> 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 45 additional commits since the last revision:
>
> - Merge branch 'openjdk:master' into JDK-8373118
> - setup for helpJoin
> - 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
> - ... and 35 more: https://git.openjdk.org/jdk/compare/ce27d5c9...1b9272b3
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1984:
> 1982: if (qid != (prevSrc = src))
> 1983: w.source = src = qid;
> 1984: U.storeFence();
@DougLea Since `source` is `volatile` again, we only need the storeFence in an `else` here?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2781581201
More information about the core-libs-dev
mailing list