Condy to power constant lambdas

Remi Forax forax at univ-mlv.fr
Tue Aug 22 20:32:28 UTC 2017


The hard part here is to refactor the LambdaMetaFactory not to figure out what the compiler should emit :)

Rémi

----- Mail original -----
> De: "Paul Sandoz" <paul.sandoz at oracle.com>
> À: "amber-dev" <amber-dev at openjdk.java.net>
> Envoyé: Mardi 22 Août 2017 22:24:32
> Objet: Re: Condy to power constant lambdas

>> On 22 Aug 2017, at 13:15, Brian Goetz <brian.goetz at Oracle.COM> wrote:
>> 
>> This plan is already in the works :)
>> 
> 
> Yes:
> 
> https://bugs.openjdk.java.net/browse/JDK-8186216
> <https://bugs.openjdk.java.net/browse/JDK-8186216>
> 
> Paul.
> 
>> On 8/22/2017 4:14 PM, Remi Forax wrote:
>>> Hi all,
>>> i wonder if it's not better to use a condy instead of an indy when creating a
>>> constant lambda (a non capturing lambda).
>>> It creates a constant a link time and not at JIT time, so it's faster for the
>>> interpreter, and c1.
>>> 
>>> Rémi


More information about the amber-dev mailing list