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

Vector register used by C2 compiled method corrupted at safepoint

XMLWordPrintable

    • b11

        The attached fuzzer test produces a different result for -Xint compared to "-Xmx1G -Xbatch"

        To reproduce:
        $ java -Xint Test.java > Xint.log
        $ java -Xmx1G -Xbatch Test.java > Xbatch.log

        $ diff Xint.log Xbatch.log
        7c7
        < Test.lArrFld = 25674174407149025
        ---
        > Test.lArrFld = 25674174407148752
        17c17
        < Test.lArrFld = 9537047398970299
        ---
        > Test.lArrFld = 9537047398970587
        27c27
        < Test.lArrFld = 18629965541333
        ---
        > Test.lArrFld = 18629965541341
        37c37
        < Test.lArrFld = 54959195193890875
        ---
        > Test.lArrFld = 54959195193890614
        47c47
        < Test.lArrFld = 4367139473002696
        ---
        > Test.lArrFld = 4367139473002084
        57c57
        < Test.lArrFld = 100932619575317988
        ---
        > Test.lArrFld = 100932619575318267
        67c67
        < Test.lArrFld = 20084261578502931
        ---
        > Test.lArrFld = 20084261578502843
        77c77
        < Test.lArrFld = 80394573410852050
        ---
        > Test.lArrFld = 80394573410852213
        87c87
        < Test.lArrFld = 542189777010360
        ---
        > Test.lArrFld = 542189777010483
        97c97
        < Test.lArrFld = 20016425702668859
        ---
        > Test.lArrFld = 20016425702669146


        Note: Does not differ if we specifiy -XX:-TieredCompilation or -XX:TieredStopAtLevel=1

              thartmann Tobias Hartmann
              chagedorn Christian Hagedorn
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: