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

Behavior of adler32 changes after JDK-8300208

XMLWordPrintable

    • b11

      JDK-8300208 (Optimize Adler32 stub for AVX-512 targets) seems to change the behaviour of adler32.

      The attached repro shows that the adler32 checksum for the attached data file changes after the loop is optimized.

      $ java AdlerTest
      failed iteration: 5413 - expected 1265275828, actual 14717876

      The data was generated with `head -c 72188 /dev/random`

        1. input
          70 kB
        2. AdlerTest.java
          0.6 kB

            sviswanathan Sandhya Viswanathan
            cushon Liam Miller-Cushon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: