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

Avoid use of capturing lambdas in JarFile

XMLWordPrintable

      Capturing lambdas are relatively expensive, and should be avoided if possible. Anonymous local functions, too.

      All lambdas used in the interaction between JarFile and ZipFile can be avoided by having ZipFile call a shared secret in JarFile to create a JarFileEntry when appropriate. This removes an allocation per lookup.

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

              Created:
              Updated:
              Resolved: