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

[11u] compiler/rtm/locking tests fail regularly on ppcle64

XMLWordPrintable

      We see two compiler/rtm/locking tests failing regularly on ppc64le in JDK11.

      1. The test compiler/rtm/locking/TestRTMSpinLoopCount.java fails like this:
      java.lang.RuntimeException: Total aborts count (1002) should be less or equal to 1001: expected that 1002 <= 1001
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertLessThanOrEqual(Asserts.java:154)
      at jdk.test.lib.Asserts.assertLTE(Asserts.java:125)
      at compiler.rtm.locking.TestRTMSpinLoopCount.getAbortsCountOnLockBusy(TestRTMSpinLoopCount.java:114)
      at compiler.rtm.locking.TestRTMSpinLoopCount.runTestCases(TestRTMSpinLoopCount.java:76)
      at compiler.rtm.locking.TestRTMSpinLoopCount.main(TestRTMSpinLoopCount.java:124)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:829)

      2. The test compiler/rtm/locking/TestRTMAbortThreshold.java fails like this:
      java.lang.RuntimeException: Expected that method with rtm lock elision was deoptimized after 1 lock attempts: expected 2 to equal 1
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
      at compiler.rtm.locking.TestRTMAbortThreshold.verifyAbortThreshold(TestRTMAbortThreshold.java:96)
      at compiler.rtm.locking.TestRTMAbortThreshold.runTestCases(TestRTMAbortThreshold.java:60)
      at compiler.rtm.locking.TestRTMAbortThreshold.main(TestRTMAbortThreshold.java:103)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:829)

            Unassigned Unassigned
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: