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

Optimize Arrays.deepHashCode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • None
    • core-libs
    • b12

      In Arrays.deepHashCode, the common case should be non-array leaf elements, but those are only reached in the code after an exhaustive search of rare primitive array types. Also, avoid using instanceof when identity comparison of Class objects is possible.

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: