On Mon, 12 Jan 2026 17:44:22 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:
>
> Fix missing undo
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2591:
> 2589: unlockRunState();
> 2590: }
> 2591: ForkJoinTask<?>[] a;
`a` is not used
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 2593:
> 2591: ForkJoinTask<?>[] a;
> 2592: if (q != null && (lock = q.tryLockPhase()) != 1) {
> 2593: int unlock = lock + NEXTIDLE;
Suggestion:
int unlock = lock + NEXTIDLE;
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2687038807
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2687040332