RFR: 8164569: Generate non-customized invoker forms at link time

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Aug 24 10:32:42 UTC 2016

Looks good.

Best regards,
Vladimir Ivanov

On 8/23/16 11:57 AM, Claes Redestad wrote:
> Hi,
> this patch adds configurable link-time generation of the invoker forms.
> Some such forms is commonly used early on in even the simplest startup
> tests, and an unbounded number of invoker forms can be generated in more
> complex cases.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8164569
> Webrev: http://cr.openjdk.java.net/~redestad/8164569/webrev.01/
> Together with JDK-8164483 (which I've tested together with this) this
> removes all class generation from runtime in the tests associated with
> JDK-8086045
> I'd also note that the default setting in this patch is rather
> arbitrary: although it removes a handful of invokers in a number of
> tests, it's admittedly complicated to detect which ones are needed (same
> goes for already implemented options to select
> Direct-/DelegatingMethodHandles and BoundMethodHandle$Species_*). The
> plan is to implement JDK-8163371 in such a way that running a
> application with a tracing flag enabled will produce a file to use as
> the sole input to --generate-jli-classes.
> Thanks!
> /Claes

More information about the core-libs-dev mailing list