lambda support for Graal

Christian Thalinger christian.thalinger at
Thu Apr 4 11:09:24 PDT 2013

On Apr 3, 2013, at 6:52 PM, Andreas Woess <awx at> wrote:

> Not much really. I've done some experimental hacking on that a while ago
> (and can provide you with a patch as a starting point). The main task is
> probably implementing the MH intrinsics in Graal, so that the methods
> are inlined.

Please.  A patch would be great.

-- Chris

> - andreas
> On 2013-04-04 02:00, Christian Thalinger wrote:
>> On Apr 3, 2013, at 1:42 PM, Doug Simon @ Oracle <doug.simon at> wrote:
>>> On Apr 3, 2013, at 10:15 PM, "Venkatachalam, Vasanth" <Vasanth.Venkatachalam at> 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