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

compiler/rangechecks/TestRangeCheckHoistingScaledIV.java: make flagless

XMLWordPrintable

    • b25
    • x86_64
    • linux, windows

        ==== Outcome ====

        The test fails with '-Xcomp' because of the JDK-8316124. Temporarily made 'vm.flagless' to get rid of CI failures. As soon as the blocking issue is fixed, we should remove the vm.flagless requirement (JDK-8320495).

        ==== Original Description ====

        The following test failed in the JDK22 CI:

        compiler/rangechecks/TestRangeCheckHoistingScaledIV.java

        Here's a snippet from the log file:

        rc_predicate 0 <u range
        lower bound check if: 239
        rc_predicate (limit - 1) <u range
        upper bound check if: 239
        rc_predicate init <u range
        rc_predicate init <u range
        Predicate invariant if: 265 Loop: N234/N215 limit_check profile_predicated predicated counted [0,int),+1 (2147483648 iters) rc has_call rce sfpts={ 204 }
        Predicate invariant if negated: 268 Loop: N234/N215 limit_check profile_predicated predicated counted [0,int),+1 (2147483648 iters) rc has_call rce sfpts={ 204 }
        Loop Predication Performed: Loop: N234/N215 limit_check profile_predicated predicated counted [0,int),+1 (2147483648 iters) rc has_call rce sfpts={ 204 }
        ];
         stderr: [WARNING: Using incubator modules: jdk.incubator.vector
        ]
         exitValue = 0

        java.lang.RuntimeException: 'rc_predicate init * 6' missing from stdout
        at jdk.test.lib.process.OutputAnalyzer.stdoutShouldContain(OutputAnalyzer.java:236)
        at compiler.rangechecks.TestRangeCheckHoistingScaledIV.main(TestRangeCheckHoistingScaledIV.java:97)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1570)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: 'rc_predicate init * 6' missing from stdout
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'rc_predicate init * 6' missing from stdout
        ----------rerun:(45/8851)*----------

              enikitin Evgeny Nikitin
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: