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

Early use of lambda introduced in JDK-8285263 cause startup regressions in 20-b02

    XMLWordPrintable

Details

    • b02
    • 20
    • b16

    Description

      SecureClassLoader.getProtectionDomain is invoked by the launcher when loading the main class, so is part of the bootstrap path on most applications. Switching from using an anonymous class to a (capturing) lambda means we are loading a variety of classes and taking a small hit to startup and footprint on all measured startup tests.

      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: