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

[TEST_BUG] java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object

    XMLWordPrintable

    Details

      Backports

        Description

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

        java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object:

        ----------System.out:(2/70)----------
        LockBThread about to block on objC
        LockAThread about to block on objB
        ----------System.err:(14/921)----------
        java.lang.RuntimeException: Thread LockBThread is blocked on java.lang.Object@4078dcfc but got [I@29e5e00f
        at Locks.checkBlockedObject(Locks.java:98)
        at Locks.main(Locks.java:288)
        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:498)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Thread LockBThread is blocked on java.lang.Object@4078dcfc but got [I@29e5e00f
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Thread LockBThread is blocked on java.lang.Object@4078dcfc but got [I@29e5e00f

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jbachorik Jaroslav Bachorík
                Reporter:
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: