Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8024649 Umbrella: Lambda linkage performance
  3. JDK-8024633

Early class initialization from LambdaMetafactory improves lambda linkage performance

    XMLWordPrintable

Details

    • b115
    • generic
    • generic

    Description

      LambdaForms which are generated for invokedynamic contains significant part of code responsible for class initialization check/invocations.
      If we force class initialization from InnerClassLambdaMetafactory we get +6% - +10% performance improvement to lambda linkage (due to LF tree simplification).

      Minor performance improvement: merging two subsequent "doPrivileged" actions into one gives ~+1%.

      Attached webrev contains fix: please review.

      Attachments

        Activity

          People

            briangoetz Brian Goetz
            skuksenko Sergey Kuksenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: