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

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 8
    • core-libs

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

            rfield Robert Field (Inactive)
            briangoetz Brian Goetz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: