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

compiler/c2/irTests/TestPostParseCallDevirtualization.java fails when compiler1 is disabled

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b23

      Description

      compiler/c2/irTests/TestPostParseCallDevirtualization.java fail when using --with-jvm-features=-compiler1:

      One or more @IR rules failed:

      Failed IR Rules (1)
      ------------------
      - Method "public int compiler.c2.irTests.TestPostParseCallDevirtualization.testMethodHandleCallWithCCP() throws java.lang.Throwable":
        * @IR rule 1: "@compiler.lib.ir_framework.IR(failOn={"#PRE#(\\\\d+(\\\\s){2}(CallStaticJava.*)+(\\\\s){2}===.*#IS_REPLACED#)", "invokeBasic"}, applyIf={}, applyIfAnd={}, applyIfOr={}, counts={"#PRE#(\\\\d+(\\\\s){2}(CallStaticJava.*)+(\\\\s){2}===.*#IS_REPLACED#)", "invokeStatic", "= 1"}, applyIfNot={})"
          - failOn: Graph contains forbidden nodes:
              Regex 1: (\\d+(\\s){2}(CallStaticJava.*)+(\\s){2}===.*invokeBasic)
              Matched forbidden node:
                280 CallStaticJava === 5 6 7 8 1 ( 188 1 1 1 1 1 1 ) [[ 281 282 283 285 ]] # Static java.lang.invoke.MethodHandle::invokeBasic
          - counts: Graph contains wrong number of nodes:
              Regex 1: (\\d+(\\s){2}(CallStaticJava.*)+(\\s){2}===.*invokeStatic)
              Expected 1 but found 0 nodes.

      >>> Check stdout for compilation output of the failed methods

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sguoyun Sun Guoyun
              Reporter:
              sguoyun Sun Guoyun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: