Fix missing undo

This commit is contained in:
Doug Lea 2026-01-12 12:39:44 -05:00
parent c3e137a6bc
commit bb492a04f8

View File

@ -1292,9 +1292,7 @@ public class ForkJoinPool extends AbstractExecutorService
U.putReferenceVolatile(this, ARRAY, newArray);
if (unlock != 1)
phase = unlock;
ForkJoinWorkerThread o;
if (pool != null ||
((o = owner) != null && (pool = o.pool) != null))
if (pool != null)
pool.signalWork(this, s);
return;
}