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

Avoid use of capturing lambdas in JarFile

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: