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

Results of execution differ for C2 and C1/Interpreter

    Details

      Description

      The attached fuzzer test produces a different result for C2 compared to C1/interpreter.

      To reproduce:
      $ java -Xint Test.java > Xint.log
      $ java -Xmx1G -Xcomp -Xbatch -XX:-TieredCompilation -XX:CompileOnly=Test Test.java > c2.log

      $ diff Xint.log c2.log
      7c7
      < vMeth1_check_sum: 4635247489541481754
      ---
      > vMeth1_check_sum: 4635247489541481753
      16c16
      < vMeth1_check_sum: -9176249094203243722
      ---
      > vMeth1_check_sum: -9176249094203243723
      25c25
      < vMeth1_check_sum: -4541001604881528878
      ---
      > vMeth1_check_sum: -4541001604881528879
      34c34
      < vMeth1_check_sum: 94245884440185966
      ---
      > vMeth1_check_sum: 94245884440185965
      43c43
      < vMeth1_check_sum: 4729493373761900810
      ---
      > vMeth1_check_sum: 4729493373761900809
      52c52
      < vMeth1_check_sum: -9082003210625935962
      ---
      > vMeth1_check_sum: -9082003210625935963
      61c61
      < vMeth1_check_sum: -4446755721304221118
      ---
      > vMeth1_check_sum: -4446755721304221119
      70c70
      < vMeth1_check_sum: 188491768017493726
      ---
      > vMeth1_check_sum: 188491768017493725
      79c79
      < vMeth1_check_sum: 4823739257339208570
      ---
      > vMeth1_check_sum: 4823739257339208569
      88c88
      < vMeth1_check_sum: -8987757327048628202
      ---
      > vMeth1_check_sum: -8987757327048628203

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chagedorn Christian Hagedorn
                Reporter:
                chagedorn Christian Hagedorn
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: