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

C2: optimize long range checks in long counted loops

    XMLWordPrintable

Details

    • b21

    Description

      JDK-8255150 makes it possible for java code to explicitly perform a range check on long values. JDK-8223051 provides a transformation of long counted loops into loop nests with an inner int counted loop. With this change I propose transforming long range checks that operate on the iv of a long counted loop into range checks that operate on the iv of the int inner loop once it has been created. Existing range check eliminations can then kick in.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: