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

Reduce size of $deserializeLambda$ method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8
    • tools

      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.

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

              Created:
              Updated: