-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
repo-valhalla
Running TestValueClasses::test22 with -XX:+DeoptimizeALot -XX:+DeoptimizeNMethodBarriersALot fails spuriously:
Custom Run Test: @Run: test22_verifier - @Test: test22:
compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public void compiler.valhalla.inlinetypes.TestValueClasses.test22_verifier()
at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:99)
at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:825)
at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:250)
at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:116)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:159)
... 5 more
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because "this.i2" is null
at compiler.valhalla.inlinetypes.TestValueClasses$ManyOopsValue.sum(TestValueClasses.java:943)
at compiler.valhalla.inlinetypes.TestValueClasses.test22(TestValueClasses.java:950)
at compiler.valhalla.inlinetypes.TestValueClasses.test22_verifier(TestValueClasses.java:956)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 7 more
at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:860)
at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:250)
at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)
compiler.lib.ir_framework.shared.TestRunException: The following scenarios have failed: #0. Please check stderr for more information.
at compiler.lib.ir_framework.TestFramework.reportScenarioFailures(TestFramework.java:677)
at compiler.lib.ir_framework.TestFramework.startWithScenarios(TestFramework.java:637)
at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:349)
at compiler.valhalla.inlinetypes.TestValueClasses.main(TestValueClasses.java:66)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
Custom Run Test: @Run: test22_verifier - @Test: test22:
compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public void compiler.valhalla.inlinetypes.TestValueClasses.test22_verifier()
at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:99)
at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:825)
at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:250)
at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:116)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:159)
... 5 more
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because "this.i2" is null
at compiler.valhalla.inlinetypes.TestValueClasses$ManyOopsValue.sum(TestValueClasses.java:943)
at compiler.valhalla.inlinetypes.TestValueClasses.test22(TestValueClasses.java:950)
at compiler.valhalla.inlinetypes.TestValueClasses.test22_verifier(TestValueClasses.java:956)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 7 more
at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:860)
at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:250)
at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)
compiler.lib.ir_framework.shared.TestRunException: The following scenarios have failed: #0. Please check stderr for more information.
at compiler.lib.ir_framework.TestFramework.reportScenarioFailures(TestFramework.java:677)
at compiler.lib.ir_framework.TestFramework.startWithScenarios(TestFramework.java:637)
at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:349)
at compiler.valhalla.inlinetypes.TestValueClasses.main(TestValueClasses.java:66)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)