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

Workaround C2 limitations when working with long loops

    Details

    • Type: Bug
    • Status: New
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools

      Description

      Hotspot and Graal both have well-known issues when it comes to support bound-check-elimination in the presence of loops with 'long' induction variables.

      One possible, interim, solution would be to workaround this limitation in the foreign memory access implementation, by special casing 'small' memory segments.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mcimadamore Maurizio Cimadamore
                Reporter:
                mcimadamore Maurizio Cimadamore
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: