Condy to power constant lambdas

John Rose john.r.rose at oracle.com
Mon Sep 18 22:35:25 UTC 2017


On Aug 22, 2017, at 1:14 PM, Remi Forax <forax at univ-mlv.fr> wrote:
> 
> 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.

This takes me back to a conversation you and I were in in 2010:

http://mail.openjdk.java.net/pipermail/mlvm-dev/2010-October/002031.html (me on bootstrap specifiers)

http://mail.openjdk.java.net/pipermail/mlvm-dev/2010-October/002032.html (Remi on constant call sites)

FTR, that first Email provides a pretty full account of why BSMs are the way
they are today.  It also anticipates and motivates our current relaxation of the
arity limits.

How time flies…

— John


More information about the amber-dev mailing list