-
Bug
-
Resolution: Won't Fix
-
P4
-
11
-
ppc
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)
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)
- relates to
-
JDK-8307907 [ppc] Remove RTM locking implementation
- Resolved