JDK-8008413 : Reduce size of $deserializeLambda$ method
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2013-02-18
  • Updated: 2017-01-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_minorUnresolved
Related Reports
Relates :  
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.