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

[IR Framework] Compilation is not found due to rare safepoint while dumping PrintIdeal/PrintOptoAssembly

XMLWordPrintable

    • b23
    • x86_64
    • os_x

        Test
        compiler/c2/irTests/DivLNodeIdealizationTests.java
        fails with
        One or more @IR rules failed:

        Failed IR Rules (1) of Methods (1)
        ----------------------------------
        1) Method "public long compiler.c2.irTests.DivLNodeIdealizationTests.retainDenominator(long,long)":
           * Method was not compiled. Did you specify any compiler directives preventing a compilation or used a @Run method in STANDALONE mode? In the latter case, make sure to always trigger a C2 compilation by invoking the test enough times.
        >>> Check stdout for compilation output of the failed methods


          #############################################################
           - To only run the failed tests use -DTest, -DExclude,
             and/or -DScenarios.
           - To also get the standard output of the test VM run with
             -DReportStdout=true or for even more fine-grained logging
             use -DVerbose=true.
          #############################################################


        compiler.lib.ir_framework.driver.irmatching.IRViolationException: There were one or multiple IR rule failures. Please check stderr for more information.
        at compiler.lib.ir_framework.driver.irmatching.IRMatcher.throwIfNoSafepointWhilePrinting(IRMatcher.java:91)
        at compiler.lib.ir_framework.driver.irmatching.IRMatcher.reportFailures(IRMatcher.java:82)
        at compiler.lib.ir_framework.driver.irmatching.IRMatcher.applyIRRules(IRMatcher.java:54)
        at compiler.lib.ir_framework.driver.irmatching.IRMatcher.<init>(IRMatcher.java:43)
        at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:702)
        at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:671)
        at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:324)
        at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:210)
        at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:199)
        at compiler.c2.irTests.DivLNodeIdealizationTests.main(DivLNodeIdealizationTests.java:37)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
        at java.base/java.lang.Thread.run(Thread.java:1532)

              chagedorn Christian Hagedorn
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: