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

java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java failed with java.lang.Error: Completed == 4; expected 2

XMLWordPrintable

        This happened in jdk 9 dev nightly b89-2015-10-24 on Window 8 64 bit

        Please refer to the following output:
        ----------System.out:(3/105)----------
        Threads: 2 0.193019225s run time
        Threads: 3 0.203666667s run time
        Threads: 5 0.157275016s run time
        ----------System.err:(13/712)----------
        java.lang.Error: Completed == 4; expected 2
        at CancelledLockLoops$ReentrantLockLoop.test(CancelledLockLoops.java:116)
        at CancelledLockLoops.main(CancelledLockLoops.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:520)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
        at java.lang.Thread.run(Thread.java:747)

              martin Martin Buchholz
              xiaofeya Xiaofeng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: