-
Bug
-
Resolution: Not an Issue
-
P4
-
24
-
riscv
-
linux
Fei writes:
#############################################################################
FYI: I found that following test fails with Zacas when running in QEMU system (9.1.0):
$ make test TEST="java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java" JTREG="VM_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:+UseZacas;TIMEOUT_FACTOR=32"
Error message:
STDOUT:
thread1 => Thread[#23,Thread-1,5,MainThreadGroup]
thread2 => Thread[#24,Thread-2,5,MainThreadGroup]
Waiting for thread1 and thread2 to deadlock ...
findMonitorDeadlockedThreads => null
expected => [23, 24]
STDERR:
java.lang.RuntimeException: Unexpected result
at VirtualThreadDeadlocks.main(VirtualThreadDeadlocks.java:108)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1447)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected result
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected result
#############################################################################
#############################################################################
FYI: I found that following test fails with Zacas when running in QEMU system (9.1.0):
$ make test TEST="java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java" JTREG="VM_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:+UseZacas;TIMEOUT_FACTOR=32"
Error message:
STDOUT:
thread1 => Thread[#23,Thread-1,5,MainThreadGroup]
thread2 => Thread[#24,Thread-2,5,MainThreadGroup]
Waiting for thread1 and thread2 to deadlock ...
findMonitorDeadlockedThreads => null
expected => [23, 24]
STDERR:
java.lang.RuntimeException: Unexpected result
at VirtualThreadDeadlocks.main(VirtualThreadDeadlocks.java:108)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1447)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected result
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected result
#############################################################################
- relates to
-
JDK-8346255 [TESTBUG] VirtualThreadDeadlocks.java finds no deadlock
- Open
1.
|
RISC-V: Add gtests for cmpxchg | Resolved | Robbin Ehn | ||
2.
|
RISC-V: Add gtests for narrow cmpxchg | Resolved | Robbin Ehn | ||
3.
|
RISC-V: Add gtests for weak cmpxchg | Resolved | Robbin Ehn | ||
4.
|
RISC-V: Add concurrent gtests for cmpxchg variants | Resolved | Robbin Ehn |