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

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P3 P3
    • repo-panama
    • repo-panama
    • hotspot

      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.)

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

              Created:
              Updated: