lambda support for Graal

Christian Thalinger christian.thalinger at oracle.com
Wed Apr 3 17:00:49 PDT 2013


On Apr 3, 2013, at 1:42 PM, Doug Simon @ Oracle <doug.simon at oracle.com> wrote:

> 
> On Apr 3, 2013, at 10:15 PM, "Venkatachalam, Vasanth" <Vasanth.Venkatachalam at amd.com> wrote:
> 
>> Hi,
>> 
>> Can someone explain what the plans for adding support to compile JDK8 lambda expressions?
> 
> We have no current plans for adding this support. As far as I am aware, we have not yet looked into what compiler support is needed for lambda expressions. Is it only a matter of supporting invokedynamic and MethodHandles?

I'm going to work on this.  Next week I have a call with Thomas to figure out what is required.

-- Chris

> 
>> We'll need this functionality soon for the work we're doing, namely generating HSAIL for parallelizable Java code marked with lambdas.
> 
> How does this marking show up in the class file/bytecode? It may be possible to do some kind of pattern matching.
> 
> -Doug



More information about the graal-dev mailing list