JDK-8323295 : 3 vthread tests timed out in the same test job
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 23
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: aarch64
  • Submitted: 2024-01-09
  • Updated: 2025-11-08
  • Resolved: 2025-11-08
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 26
26Resolved
Related Reports
Duplicate :  
Description
The following three tests timed out in the same test job:

serviceability/jvmti/vthread/VThreadMonitorTest/VThreadMonitorTest.java
serviceability/jvmti/vthread/SuspendWithInterruptLock/SuspendWithInterruptLock.java#xint
serviceability/jvmti/vthread/SuspendWithInterruptLock/SuspendWithInterruptLock.java#default

Here's a snippet from the VThreadMonitorTest.java log file:

#section:main
----------messages:(8/361)----------
command: main -agentlib:VThreadMonitorTest VThreadMonitorTest
reason: User specified action: run main/othervm/native -agentlib:VThreadMonitorTest VThreadMonitorTest 
started: Tue Jan 09 01:47:35 UTC 2024
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Tue Jan 09 02:09:26 UTC 2024
elapsed time (seconds): 1311.096
----------configuration:(0/0)----------
----------System.out:(5378/92247)----------
Agent_OnLoad started
Agent_OnLoad finished
Main starting VT virtual threads
Main thread is waiting for event

Main thread is waiting for event

Main thread is waiting for event

Main thread is waiting for event

Main thread is waiting for event

Main thread is waiting for event

Main thread is waiting for event


MonitorContendedEnter: VirtualThread-0: contended monitor: 0xffff38001f18
MonitorContendedEnter: GetCurrentContendedMonitor returned expected monitor for VirtualThread-0
MonitorContendedEnter: GetThreadState returned state for VirtualThread-0: 401


MonitorContendedEnter: ForkJoinPool-1-worker-1: contended monitor: (nil)
MonitorContendedEnter: GetCurrentContendedMonitor returned expected monitor for ForkJoinPool-1-worker-1
MonitorContendedEnter: GetThreadState returned state for ForkJoinPool-1-worker-1: 91


MonitorContendedEnter: GetOwnedMonitorInfo: VirtualThread-0 owns 2 monitor(s)
MonitorContendedEnter: GetOwnedMonitorInfo: returned expected number of monitors for VirtualThread-0
MonitorContendedEnter: GetThreadState returned state for VirtualThread-0: 401


MonitorContendedEnter: GetOwnedMonitorInfo: ForkJoinPool-1-worker-1 owns 0 monitor(s)
MonitorContendedEnter: GetOwnedMonitorInfo: returned expected number of monitors for ForkJoinPool-1-worker-1
MonitorContendedEnter: GetThreadState returned state for ForkJoinPool-1-worker-1: 91

Main thread is waiting for event

Main thread is waiting for event

Main thread is waiting for event

<The above mesg repeats until the end of the test run>

Main thread is waiting for event

----------System.err:(0/0)----------
----------rerun:(45/6890)*----------

<snip>

result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+5-222/linux-aarch64-debug.jdk/jdk-23/fastdebug/bin/java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1311091ms).


Here's a snippet from the SuspendWithInterruptLock.java#xint log file:

#section:main
----------messages:(8/320)----------
command: main -Xint SuspendWithInterruptLock
reason: User specified action: run main/othervm -Xint SuspendWithInterruptLock 
started: Tue Jan 09 01:20:46 UTC 2024
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Tue Jan 09 01:42:54 UTC 2024
elapsed time (seconds): 1327.758
----------configuration:(0/0)----------
----------System.out:(1/37)----------
Timeout signalled after 1200 seconds
----------System.err:(0/0)----------
----------rerun:(44/8036)*----------

<snip>

result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+5-222/linux-aarch64-debug.jdk/jdk-23/fastdebug/bin/java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1327712ms).


Here's a snippet from the SuspendWithInterruptLock.java#default file:

#section:main
----------messages:(8/308)----------
command: main SuspendWithInterruptLock
reason: User specified action: run main/othervm SuspendWithInterruptLock 
started: Tue Jan 09 00:57:38 UTC 2024
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Tue Jan 09 01:20:21 UTC 2024
elapsed time (seconds): 1363.776
----------configuration:(0/0)----------
----------System.out:(1/37)----------
Timeout signalled after 1200 seconds
----------System.err:(0/0)----------
----------rerun:(43/8037)*----------

<snip>

result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+5-222/linux-aarch64-debug.jdk/jdk-23/fastdebug/bin/java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1363743ms).

Comments
Closing this as a dup of JDK-8311218.
08-11-2025