[10!] RFR: 8193471: Startup regression due to JDK-8185582

Claes Redestad claes.redestad at oracle.com
Wed Dec 13 20:40:51 UTC 2017


Lambdas and their overheads isn't much of an issue in the grand scheme 
of things, but forcing the
initialization early when not much of the code java.lang.invoke depends 
on has had a chance to at
least warm up somewhat does cause awkward hiccups in startup tests. Thus 
it makes sense to defer
the first initialization somewhat, for now.

I hope we'll continue making these overheads smaller so that we in time 
can use lambdas (or any
new language feature) anywhere without regressing even the most 
synthetic startup tests.

/Claes

On 2017-12-13 21:17, Martin Buchholz wrote:
> fyi Google does some automated desugaring for lambdas using a program 
> named ... desugar.
>



More information about the core-libs-dev mailing list