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

C2: condition incorrectly made redundant with dominating main loop exit condition

    XMLWordPrintable

Details

    • b19
    • Verified

    Backports

      Description

        Attached Fuzzer test produces different result in C2:

        $ build/linux-x86_64-server-fastdebug/images/jdk/bin/java -Xint Test | grep instanceCount | tail -n 3
        Test.instanceCount Test.bFld iFld = -13,0,-1965776755
        Test.instanceCount Test.bFld iFld = -13,0,-492785072
        Test.instanceCount Test.bFld iFld = -13,0,1109812339

        $ build/linux-x86_64-server-fastdebug/images/jdk/bin/java -Xcomp -XX:TieredStopAtLevel=1 Test | grep instanceCount | tail -n 3
        Test.instanceCount Test.bFld iFld = -13,0,-1965776755
        Test.instanceCount Test.bFld iFld = -13,0,-492785072
        Test.instanceCount Test.bFld iFld = -13,0,1109812339

        $ build/linux-x86_64-server-fastdebug/images/jdk/bin/java -Xcomp -XX:-TieredCompilation Test | grep instanceCount | tail -n 3
        Test.instanceCount Test.bFld iFld = -13,0,787372637
        Test.instanceCount Test.bFld iFld = -13,0,-1876561976
        Test.instanceCount Test.bFld iFld = -13,0,139528539

        Bisection points to JDK-8269752.

        Attachments

          1. 059716.tar.gz
            13 kB
            Aleksey Shipilev

          Issue Links

            Activity

              People

                roland Roland Westrelin
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: