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

Rewrite part or all of VectorizedHashCodeNode as a stub routine

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • hotspot

      The String/Arrays hashCode intrinsic introduced in JDK-8282664 is implemented as an inlined node, the emitted code for which might grow to be rather large. It might be beneficial to rewrite this as a stub routine instead.

      Either fully and just have the library_call emit a stub call (in which case VectorizedHashCodeNode can be removed) or partially by extract the vectorized path to a stub, leaving the code for shorter strings implemented as an inlined chunk of code (which may avoid call overhead for short strings).

            Unassigned Unassigned
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: