JDK-8344143 : Test jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macosx-x64
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 24
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2024-11-13
  • Updated: 2025-10-13
  • Resolved: 2024-11-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21 JDK 24
21.0.10Fixed 24 b25Fixed
Related Reports
Relates :  
Relates :  
Description
----------System.out:(1148/54948)----------
2024-11-13T15:11:23.745965Z => 2 of 500000
...
2024-11-13T15:21:02.110031Z => 499754 of 500000
2024-11-13T15:21:02.130423Z => 500000 of 500000
----------System.err:(1/15)----------
STATUS:Passed.

test result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+24-2939/macosx-x64.jdk/jdk-24.jdk/Contents/Home/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 663919ms).

Test ran for over 10 minutes even though timeout was set to 8. Test was flagged as Passed but then timed out runnig the timeout handler.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/2297 Date: 2025-10-06 12:20:08 +0000
10-10-2025

Fix request (21u): As I've seen the mentioned tests failing on x86 mac hardware in our CI, I'd like to backport these test updates to 21u, as far as they apply (some tests do not exist in 21). Risk is low, change is test-only. Went through SAP's nightlies and GHA without issues spotted.
10-10-2025

Test is still timing out, as is java/lang/Thread/virtual/stress/ParkALot.java#id0
19-11-2024

Changeset: 48223f7b Branch: master Author: Alan Bateman <alanb@openjdk.org> Date: 2024-11-19 16:37:43 +0000 URL: https://git.openjdk.org/jdk/commit/48223f7b9c6fbaf4e6751a5b41ea9e9046a48f91
19-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22193 Date: 2024-11-18 09:28:58 +0000
19-11-2024

[~alanb] Not sure whether this is a bug in the test or with virtual threads themselves.
13-11-2024