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

Improve the Array Comparison when there is mismatch at first element.

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b20

      Backports

        Description

        Call to vectorizedMismatch and intrinsic usage seems costly when there is a mismatch at the first element itself. This work solves the problem by performing the first element comparison before the call to vectorizedMismatch method and eventually the intrinsic.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                vdeshpande Vivek Deshpande
                Reporter:
                vdeshpande Vivek Deshpande
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: