On Sun, 29 Nov 2026 18:17:40 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 215 commits:
>
> - Merge branch 'openjdk:master' into JDK-8373118
> - Address review comments; track changes in deactivate
> - Copy-edit; ensure parking status reset
> - Reduce yields, improve docs and match code to docs
> - 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
> - ... and 205 more: https://git.openjdk.org/jdk/compare/4824e351...8a79aa3c
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1532:
> 1530: break;
> 1531: CountedCompleter<?> t = (CountedCompleter<?>)o, f =
> t;
> 1532: for (int steps = INITIAL_QUEUE_CAPACITY;;) {
@DougLea I think this might be a bit problematic, as deep Completion
hierarchies might exceed 64 (which is the INITIAL_QUEUE_CAPACITY).
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2569:
> 2567: CountedCompleter<?> t =
> (CountedCompleter<?>)o, f = t;
> 2568: boolean eligible;
> 2569: for (int steps =
> INITIAL_QUEUE_CAPACITY;;) {
@DougLea I think this might be a bit problematic, as deep Completion
hierarchies might exceed 64 (which is the INITIAL_QUEUE_CAPACITY).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r4741038511
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r4741049655