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

Modify rearrange/selectFrom Vector API methods to perform wrapIndexes instead of checkIndexes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • b18

      Currently the rearrange and selectFrom APIs check shuffle indices and throw IndexOutOfBoundsException if there is any exceptional source index in the shuffle. This causes the generated code to be less optimal. Modifying the rearrange/selectFrom Vector API methods to perform wrapIndexes instead of checkIndexes will help in generating efficient code.

            sviswanathan Sandhya Viswanathan
            sviswanathan Sandhya Viswanathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: