[jdk17u-dev] RFR: 8318467: [jmh] tests concurrent.Queues and concurrent.ProducerConsumer hang with 101+ threads
Roland Mesde
duke at openjdk.org
Wed Oct 29 17:52:27 UTC 2025
Backporting JDK-8318467: Tests concurrent.Queues and concurrent.ProducerConsumer hang with 101+ threads. Adjusted the capacity of the queues. Updated the copyright notice, which had a merge conflict. Ran GHA Sanity Checks (1 unrelated test failure - java/lang/ProcessBuilder/Basic.java#id0) 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
...
20.06 user
42.21 system
0:50.64 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
...
98.89 user
257.56 system
4:54.02 elapsed
...
-------------
Commit messages:
- Backport e05cafda78a37dbeb2df2edd791be19d22edaece
Changes: https://git.openjdk.org/jdk17u-dev/pull/4118/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4118&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/jdk17u-dev/pull/4118.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4118/head:pull/4118
PR: https://git.openjdk.org/jdk17u-dev/pull/4118
More information about the jdk-updates-dev
mailing list