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

java/lang/management/ThreadMXBean/SynchronizationStatistics.java intermittently failed with java.lang.Error: Unexpected diff in blocked count

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8u40
    • core-svc

      This is an intermittent failure. It happens in 8u40 resman nightly.

      Please refer to the following test output.
      ----------System.out:(6/149)----------
      testBlockingOnSimpleMonitor
      [LockerThread obtained Lock1]
      OK
      testBlockingOnNestedMonitor
      [LockerThread obtained Lock1]
      [LockerThread obtained Lock2]
      ----------System.err:(15/1004)----------
      java.lang.Error: Unexpected diff in blocked count. Expecting at least 1, got 0
      at SynchronizationStatistics.testBlocked(SynchronizationStatistics.java:361)
      at SynchronizationStatistics.testBlockingOnNestedMonitor(SynchronizationStatistics.java:171)
      at SynchronizationStatistics.main(SynchronizationStatistics.java:62)
      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:497)
      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.Error: Unexpected diff in blocked count. Expecting at least 1, got 0
      JavaTest Message: shutting down test

            jbachorik Jaroslav BachorĂ­k
            xiaofeya Xiaofeng Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: