Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8347555 [REDO] C2: implement optimization for series of Add of unique value
  3. JDK-8347554

[BACKOUT] C2: implement optimization for series of Add of unique value

XMLWordPrintable

    • b06

        The Java Fuzzer found a wrong execution which could be traced back to JDK-8325495 which went into JDK 24. Since we are close to RDP 2, a backout seems the safest option for JDK 24. A REDO can be done for JDK 25.

        Reproducers fails intermittently (~20%):

        Reduced.java:
        $ for i in $(seq 1 20); do echo $i; java -XX:CompileCommand=quiet -XX:CompileOnly=*Reduced*::* -Xbatch -XX:+StressIGVN -cp ~/javafuzzer Reduced.java; done

        Failure:
        Exception in thread "main" java.lang.RuntimeException: Expected: 982, was: 198
        at Reduced.main(Reduced.java:20)

        Test.java is the original Java Fuzzer test. Run it with the same flags as for Reduced.java and compare C2 compiled version against run with -Xint.

          1. Reduced.java
            0.4 kB
          2. Test.java
            14 kB

              chagedorn Christian Hagedorn
              chagedorn Christian Hagedorn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: