[jdk25u-dev] Integrated: 8354894: java/lang/Thread/virtual/Starvation.java timeout on server with high CPUs
Roland Mesde
duke at openjdk.org
Fri Dec 5 16:59:52 UTC 2025
On Tue, 2 Dec 2025 21:26:37 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8354894: java/lang/Thread/virtual/Starvation.java timeout on server with high CPUs
>
> For parity with Oracle JDK. Fix adjusts iteration count by dividing by CPU core count, and removed timeout=800 as default 120 timeout is now sufficient.
>
> Merge conflict (resolved) was the change in the timeout.
>
> Ran GHA Sanity Checks (passed), jtreg tier1 tests (passed) and related tests (passed) on linux-x64, linux-aarch64, macos-aarch64 and windows-x64. Also ran a test on an EC2 instance (linux-x64) with high cpu count (r5dn.24xlarge - 96 core) and it finished under 1s:
>
> (Passed) - make test-tier1
> (Passed) - make test TEST=test/jdk/java/lang/Thread/virtual/Starvation.java
>
> Results are attached.
>
> [linux-x64-96-core-test.log](https://github.com/user-attachments/files/23911957/linux-x64-96-core-test.log)
>
> [linux-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23911996/linux-aarch64-jtreg-tier1.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/23911997/linux-aarch64-specific-test.log)
> [linux-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23911998/linux-x64-jtreg-tier1.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/23911999/linux-x64-specific-test.log)
> [macos-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23912000/macos-aarch64-jtreg-tier1.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/23912001/macos-aarch64-specific-test.log)
> [windows-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23912002/windows-x64-jtreg-tier1.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/23912003/windows-x64-specific-test.log)
This pull request has now been integrated.
Changeset: b7b842e1
Author: Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk25u-dev/commit/b7b842e1d4b03f26831e48507b43bf3e6762d78f
Stats: 10 lines in 1 file changed: 7 ins; 0 del; 3 mod
8354894: java/lang/Thread/virtual/Starvation.java timeout on server with high CPUs
Reviewed-by: shade
Backport-of: 0366d8823bc844225ca24964e352ce0a57d01683
-------------
PR: https://git.openjdk.org/jdk25u-dev/pull/49
More information about the jdk-updates-dev
mailing list