-
Bug
-
Resolution: Fixed
-
P4
-
None
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8310193 | 22 | Kevin Walls | P4 | Resolved | Fixed | b03 |
JDK-8311354 | 21.0.1 | Kevin Walls | P4 | Resolved | Fixed | b02 |
The java/lang/management/ThreadMXBean/ThreadLists.java occasionally fails on GraalVM, most likely due to not accounting for JVMCI threads being Java threads.
----------System.out:(23/635)----------
Starting Test
Initial set of enumerated threads:
- Thread: main
- Thread: Reference Handler
- Thread: Finalizer
- Thread: Signal Dispatcher
- Thread: JVMCI-native CompilerThread0
- Thread: Common-Cleaner
- Thread: Notification Thread
- Thread: MainThread
ThreadGroup: 8 active thread(s)
Thread: 8 stack trace(s) returned
ThreadMXBean: 11 live threads(s)
ThreadMXBean: 11 thread Id(s)
Set of stack-traced threads:
- Thread: Signal Dispatcher
- Thread: Notification Thread
- Thread: MainThread
- Thread: Finalizer
- Thread: Reference Handler
- Thread: Common-Cleaner
- Thread: JVMCI-native CompilerThread0
- Thread: main
----------System.err:(11/612)----------
java.lang.RuntimeException: inconsistent results
at ThreadLists.main(ThreadLists.java:91)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
----------System.out:(23/635)----------
Starting Test
Initial set of enumerated threads:
- Thread: main
- Thread: Reference Handler
- Thread: Finalizer
- Thread: Signal Dispatcher
- Thread: JVMCI-native CompilerThread0
- Thread: Common-Cleaner
- Thread: Notification Thread
- Thread: MainThread
ThreadGroup: 8 active thread(s)
Thread: 8 stack trace(s) returned
ThreadMXBean: 11 live threads(s)
ThreadMXBean: 11 thread Id(s)
Set of stack-traced threads:
- Thread: Signal Dispatcher
- Thread: Notification Thread
- Thread: MainThread
- Thread: Finalizer
- Thread: Reference Handler
- Thread: Common-Cleaner
- Thread: JVMCI-native CompilerThread0
- Thread: main
----------System.err:(11/612)----------
java.lang.RuntimeException: inconsistent results
at ThreadLists.main(ThreadLists.java:91)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
- backported by
-
JDK-8310193 ThreadLists.java inconsistent results
- Resolved
-
JDK-8311354 ThreadLists.java inconsistent results
- Resolved
- relates to
-
JDK-8306446 java/lang/management/ThreadMXBean/Locks.java transient failures
- Resolved
- links to
-
Commit openjdk/jdk21/8d9ebb69
-
Commit openjdk/jdk/8c9b85a9
-
Review openjdk/jdk21/24
-
Review openjdk/jdk/14465
(2 links to)