RFR: 8164483: Generate field lambda forms at link time
claes.redestad at oracle.com
Tue Aug 23 08:57:30 UTC 2016
this patch adds link-time generation of the simplest field lambda forms.
This avoid generating these forms during bootstrapping, which is
commonly done early on in even the simplest startup tests.
To make this work, injecting Unsafe as a constant replacement had to be
replaced with a getter function, resulting in a few more bytecodes to do
the same thing, but which after inlining should turn into equivalent
code; performance testing indicate this change is performance neutral.
Together with JDK-8164569 (which I've tested together with this) this
removes all class generation from runtime in the tests associated with
More information about the core-libs-dev