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

Reduce size of $deserializeLambda$ method

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd_minor
    • Component/s: tools
    • Labels:

      Description

      The code generation strategy for $deserializeLambda$ is fairly verbose, which places a relatively low limit on the number of serializable lambdas that a class can have. By "outlining" the comparison mechanics, and not using strings-in-switch, we can reduce the number of bytes per lambda, and raise the limit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                briangoetz Brian Goetz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: