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

Use Unsafe.defineAnonymousClass to create lambda classes

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs

      Description

      By using Unsafe.defineAnonymousClass instead of defineClass to load the freshly-spun lambda proxy class, we see a ~6% improvement on lambda capture performance.

        Attachments

          Activity

            People

            Assignee:
            rfield Robert Field
            Reporter:
            briangoetz Brian Goetz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: