Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8204502 Vector API Umbrella Tracking Issue
  3. JDK-8204544

C2: Optimize bounds checks for vectors accesses

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: repo-panama
    • Fix Version/s: repo-panama
    • Component/s: hotspot
    • Labels:

      Description

      Vector loads/stores from/to primitive arrays and byte buffers involve bounds checks.

      C2 already does some optimizations, but it's still not as good for scalar array accesses.

      Investigate further into improving bounds check elimination for vectors to match performance of other array accesses.

      (See the system property jdk.incubator.vector.VECTOR_ACCESS_OOB_CHECK defined in jdk/incubator/vector/VectorIntrinsics.java to control the generation of bounds checks.)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: