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

C2: "negative trip count?" assert failure in profile predicate code

    XMLWordPrintable

Details

    • b19

    Backports

      Description

        $ java -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:+PrintCompilation -XX:CompileOnly=TestLongCLMinJintStride::test2 XX:CompileCommand=quiet TestLongCLMinJintStride
        ...
        # Internal Error (/home/roland/jdk-jdk/src/hotspot/share/opto/loopPredicate.cpp:1390), pid=3263637, tid=3263651
        # assert(!follow_branches || loop_trip_cnt >= 0) failed: negative trip count?

        With attached test case.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: