JDK-8164739 : Remove computation of predefined interpreter forms
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-08-24
  • Updated: 2016-09-02
  • Resolved: 2016-08-25
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 b134Fixed
Description
After getting rid of all bytecode generation, it became clear that we are spending significant time (a few milliseconds) during bootstrap to generate predefined interpreter forms in LambdaForm::computeInitialPreparedForms. 

As all tests pass without this, both when running normally and with COMPILE_THRESHOLD > 0, it seems clear that this is merely an old bootstrap performance optimization, which is no longer helpful.