Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8132785

java/lang/management/ThreadMXBean/ThreadLists.java fails intermittently

    XMLWordPrintable

    Details

      Backports

        Description

        java/lang/management/ThreadMXBean/ThreadLists.java fails intermittently:

        ----------System.out:(4/127)----------
        ThreadGroup: 8 active thread(s)
        Thread: 8 stack trace(s) returned
        ThreadMXBean: 7 live threads(s)
        ThreadMXBean: 7 thread Id(s)
        ----------System.err:(12/626)----------
        java.lang.RuntimeException: inconsistent results
        at ThreadLists.main(ThreadLists.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:502)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.RuntimeException

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dholmes David Holmes
                Reporter:
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: