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

Goetz Lindenmaier goetz at openjdk.org
Thu Oct 30 12:56:37 UTC 2025


On Mon, 27 Oct 2025 21:48:18 GMT, Roland Mesde <duke at openjdk.org> wrote:

> 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
> ...

@rm-gh-8 
Please check the GHA failures and note in a comment why you think you can integrate anyways if this is the case.

GHA failure: java/lang/ProcessBuilder/Basic#id0, issue of the test, fixed in meantime, unrelated to this change.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2408#issuecomment-3467845964


More information about the jdk-updates-dev mailing list