Discussed with @DougLea and adjusting the queue capacity to at least the number of participating threads seems like the most sensible fix.
------------- Commit messages: - Addressing 8318467 by adjusting queue capacity to at least the number of threads Changes: https://git.openjdk.org/jdk/pull/16419/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16419&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8318467 Stats: 11 lines in 2 files changed: 7 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/16419.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16419/head:pull/16419 PR: https://git.openjdk.org/jdk/pull/16419