Use Unsafe.defineAnonymousClass to create lambda classes

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Duplicate
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: