[jdk21u-dev] RFR: 8318467: [jmh] tests concurrent.Queues and concurrent.ProducerConsumer hang with 101+ threads

Roland Mesde duke at openjdk.org
Wed Oct 29 17:46:23 UTC 2025


Backporting JDK-8318467: Tests concurrent.Queues and concurrent.ProducerConsumer hang with 101+ threads. Adjusted the capacity of the queues. Ran GHA Sanity Checks (passed) and adjusted tests (passed). Patch is clean.

time java -jar build/*/images/test/micro/benchmarks.jar -f 1 -wi 2 -w 10 -i 2 -r 15 -t 240 -bm thrpt -tu ms -p type=ABQ_F java.util.concurrent.Queues

...
21.67 user
41.30 system
0:50.75 elapsed
...

time java -jar build/*/images/test/micro/benchmarks.jar -f 1 -wi 2 -w 10 -i 2 -r 15 -t 240 -bm thrpt -tu ms -p type=ABQ_F java.util.concurrent.ProducerConsumer

...
105.22 user
270.30 system
5:09.03 elapsed
...

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

Commit messages:
 - Backport e05cafda78a37dbeb2df2edd791be19d22edaece

Changes: https://git.openjdk.org/jdk21u-dev/pull/2408/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2408&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318467
  Stats: 12 lines in 2 files changed: 6 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2408.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2408/head:pull/2408

PR: https://git.openjdk.org/jdk21u-dev/pull/2408


More information about the jdk-updates-dev mailing list