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

[Graal] compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java fails with -XX:CompileThresholdScaling=0.1

XMLWordPrintable

    • b24

        compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java fails when running in Graal as JIT mode and with -XX:CompileThresholdScaling=0.1

        java.lang.RuntimeException: Unexpected isMature state for compiled method: expected true to equal false
                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.jvmci.compilerToVM.IsMatureVsReprofileTest.test(IsMatureVsReprofileTest.java:84)
                at compiler.jvmci.compilerToVM.IsMatureVsReprofileTest.main(IsMatureVsReprofileTest.java:62)
                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:567)
                at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
                at java.base/java.lang.Thread.run(Thread.java:830)


        The test passes without Graal and also passes with Graal and -Xcomp.

              epavlova Ekaterina Pavlova
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: