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

java/lang/management/ThreadMXBean/Locks.java: Thread WaitingThread is expected to wait on Object but got null Thread.State = RUNNABLE

    Details

      Backports

        Description

        jdk8 b123, macOS

        java/lang/management/ThreadMXBean/Locks.java failed:

        #section:main
        ----------messages:(3/105)----------
        command: main Locks
        reason: User specified action: run main/othervm Locks
        elapsed time (seconds): 1.047
        ----------System.out:(11/546)----------
        LockBThread about to block on objC
        LockAThread about to block on objB
        LockAThread blocked on java.lang.Object@5570908b Owner = LockBThread id = 11
        LockBThread Id = 11 blocked on java.lang.Object@10f261e9 Owner = MainThread id = 9
        MainThread Id = 9 blocked on null
        LockAThread blocked on java.lang.Object@5570908b Owner = LockBThread id = 11
        LockBThread Id = 11 blocked on java.lang.Object@10f261e9 Owner = MainThread id = 9
        MainThread Id = 9 blocked on null
        LockBThread about to exit
        LockAThread about to exit
        WaitingThread about to wait on objC
        ----------System.err:(5/432)----------
        java.lang.RuntimeException: Thread WaitingThread is expected to wait on java.lang.Object@10f261e9 but got null Thread.State = RUNNABLE
        at Locks.checkBlockedObject(Locks.java:77)
        at Locks.access$200(Locks.java:37)
        at Locks$CheckerThread.run(Locks.java:208)
        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Thread WaitingThread is expected to wait on java.lang.Object@10f261e9 but got null Thread.State = RUNNABLE

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jbachorik Jaroslav Bachorík
                  Reporter:
                  dfazunen Dmitry Fazunenko (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: