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

Avoid creating WeakEntry wrappers when looking up cached MethodType

    XMLWordPrintable

Details

    Description

      The interning mechanism for MethodType could be improved to not need to instantiate a WeakEntry when doing lookups. This gives a small but measurable improvement on startup tests setting up lambdas (~0.5-1%) and indified string concat (~2-4%).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: