On Sat, 4 Apr 2026 18:52:54 GMT, Doug Lea <[email protected]> wrote:
>> Changes signal filtering to avoid possible starvation
>
> Doug Lea has updated the pull request incrementally with one additional
> commit since the last revision:
>
> For rechecking v27 under head
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2107:
> 2105: private int awaitWork(WorkQueue w, int phase) {
> 2106: if (w != null) {
> 2107: int activePhase = phase + IDLE, parking = 0;
@DougLea the local `parking` doesn't look like it gets assigned to anything but
its initial value, so it would seem like the following conditional would be
dead code (likely bug):
if (parking != 0) {
w.parking = 0;
LockSupport.setCurrentBlocker(null);
}
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r3060808742