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

Generalize long range check transformation

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 19
    • 18
    • hotspot
    • b13

    Description

      A long range check is only transformed into an int range check subject to range check elimination if:

      - the counted loop goes upward
      - the scale factor for the element being accessed is positive

      All combination of:
      (upward loop, downward loop) x (positive scale, negative scale)
      should be supported.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: