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

Improve java.lang.invoke.MemberName hashCode implementation

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b93
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: