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

JarFile::getEntry0 method reference use cause for startup regression

    XMLWordPrintable

Details

    • b34
    • b35

    Description

      JDK-8189611 introduced a number of capturing lambdas to implement entry retrieval. Any application that loads classes from a jar file will now initialize a capturing lambda and take a startup regression.

      Desugaring this particular use is enough to avoid the majority of the startup regression, but both with an anonymous Function and a lambda it's clear that JDK-8189611 has accidentally regressed code paths that were previously non-allocating.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: