[jdk17u-dev] RFR: 8301216: ForkJoinPool invokeAll() ignores timeout

Richard Reingruber rrich at openjdk.org
Tue May 9 09:41:39 UTC 2023


In `FJP::invokeAll` we have to cancel the awaited task if the timeout is reached.

The reproducer attached to the bug report passes with this change.

The fix passed our CI testing. This includes most JCK and JTREG tiers 1-4 on the standard platforms and also on ppc64le.

-------------

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk17u-dev/pull/1329/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1329&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8301216
  Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1329.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1329/head:pull/1329

PR: https://git.openjdk.org/jdk17u-dev/pull/1329


More information about the jdk-updates-dev mailing list