Improve java.lang.invoke.MemberName hashCode implementation

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: