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

Improve java.lang.invoke.MemberName hashCode implementation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • b93
    • generic
    • generic

      MemberName::hashCode is called during startup of jake, and is currently implemented using Objects.hash(...), which allocates Object[]'s and force early initialization of Byte$ByteCache (getReferenceKind()).

      Inlining the equivalent hashCode method should be considered.

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

              Created:
              Updated:
              Resolved: