RFR: 8373118: Test java/lang/Thread/virtual/Starvation.java timed out [v25]
Viktor Klang
vklang at openjdk.org
Tue Jan 13 16:03:39 UTC 2026
On Mon, 12 Jan 2026 17:44:22 GMT, Doug Lea <dl at openjdk.org> 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
More information about the core-libs-dev
mailing list