> On Feb 20, 2018, at 7:52 AM, Karen Kinnear <karen.kinn...@oracle.com> wrote:
> 
> attendees: Tobi, Mr Simms, Dan H, Dan S, Frederic, Remi, Karen
> 
> I. Condy
> 
> 1. Condy reference implementation was pushed last week into JDK 11.
> 

A next round of development will focus on the BootstrapCallInfo API and BSM 
invocation accepting such an argument. It’s currently in the condy-folding 
branch of amber. Observation: this can make recursive resolution errors more 
explicit, resulting in a more “obvious” stack overflow. Plus constants can be 
resolved outside of the context of the BSM invocation (if say the BSM returns 
something that itself operates on the BCI instance passed to it).


> 
> 3. Planned uses for condy in jdk?
>   - Nothing in imminent plans
>   - expect longer term constant Lambdas to use condy - lightweight

It would be great if javac could at some point also “intern” duplicate lambda 
expressions.


>   - future: still exploring APIs for constants, switch, pattern match, …

> 
>  Remi: Python, JRuby - all lambdas are constant
>  Remi: wants support in javac behind a flag
>  Dan S: it is in Amber

Vicente recently pushed a patch to the condy-folding branch of amber [1] to 
remove the flag, this feature is now always on when building JDK source (and 
was always on by default for stuff outside the JDK).

Paul.

[1] http://hg.openjdk.java.net/amber/amber/rev/75e0076b3ef0 
<http://hg.openjdk.java.net/amber/amber/rev/75e0076b3ef0>

>  Remi: wants a binary :-) - Dan S will pass on that message
> 

Reply via email to