JDK-8152641 : Plugin to generate BMH$Species classes ahead-of-time
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2016-03-24
  • Updated: 2016-05-27
  • Resolved: 2016-04-01
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 b113Fixed
Related Reports
Relates :  
Relates :  
Description
This experiment shows we can win some startup performance on applications that generate java.lang.invoke.BoundMethodHandle$Species* classes:

http://cr.openjdk.java.net/~redestad/scratch/bmh_species_gen.txt

I believe it's an OK start to generate a default list of species types picked from this simple experiment for now, and consider using a profile-driven approach to generate the list of species classes used at build time.