Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VirtualThread stress test PingPong times out #5677

Open
andrew-m-leonard opened this issue Oct 9, 2024 · 0 comments
Open

VirtualThread stress test PingPong times out #5677

andrew-m-leonard opened this issue Oct 9, 2024 · 0 comments

Comments

@andrew-m-leonard
Copy link
Contributor

andrew-m-leonard commented Oct 9, 2024

java/lang/Thread/virtual/stress/PingPong.java (SQ and LTQ) tests by default perform 500,000 iterations,
see: https://github.com/openjdk/jdk21u/blob/eced83e13090748218ab3dac78f6ff1bddf2b158/test/jdk/java/lang/Thread/virtual/stress/PingPong.java#L28
this typically far exceeds the default 15 minutes openjdk jtreg timeout

On a typical Windows machine it achieves around 30,000 in 15 minutes before timing out.

These two tests need an additional "iterations" parameter with a lower value to run within the 15 minutes.
Note, this has been seen failing on other platforms too, eg:aarch64_linux.

ref:adoptium/ci-jenkins-pipelines#1104 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant