-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8u40
-
generic
-
generic
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
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
- duplicates
-
JDK-8068182 java/lang/management/ThreadMXBean/SynchronizationStatistics.java fails intermittently
-
- Resolved
-