JDK-8163878 : Remove unnecessary bridge methods, allocations in java.lang.invoke
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-08-11
  • Updated: 2016-08-18
  • Resolved: 2016-08-12
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.
JDK 9
9 b132Fixed
Related Reports
Relates :  
Description
A number of places around java.lang.invoke accidentally generate bridge methods. In other places we have code that unnecessarily allocates objects, strings etc.

Experiments show we can reduce the static footprint, number of bytecodes executed during bootstrap as well as reduce the class dependency graph further.