hg: mlvm/mlvm/hotspot: 2 new changesets

Rémi Forax forax at univ-mlv.fr
Tue Sep 27 14:42:30 PDT 2011


On 09/27/2011 11:12 PM, Lukas Stadler wrote:
> Yes :-) and there's more:
> Pre-built binaries for linux x64 and more documentation at:
> http://ssw.jku.at/General/Staff/LS/coro/
>
> The page is work in progress, though.
>  I'll have to finish it by next week, in order to direct people to it 
> at my JavaOne talk :-)
>
> - Lukas

very cool, with the binary (product VM), ping pong works !

     new Coroutine(new Runnable() {
       @Override
       public void run() {
         for(int i = 0; i < 5; i++) {
           System.out.println("pong " + i);
           Coroutine.yield();
         }
       }
     });

     for (int i = 0; i < 5; i++) {
        System.out.println("ping " + i);
        Coroutine.yield();
     }

output:
ping 0
pong 0
ping 1
pong 1
ping 2
pong 2
ping 3
pong 3
ping 4
pong 4

Rémi

>
> On Sep 27, 2011, at 21:43 , Remi Forax wrote:
>
>> Cool !
>>
>> Remi
>>
>>
>> lukas.stadler at jku.at <mailto:lukas.stadler at jku.at> wrote:
>>
>>> Changeset: 9bb80f812fd7
>>> Author:    Lukas Stadler <lukas.stadler at jku.at 
>>> <mailto:lukas.stadler at jku.at>>
>>> Date:      2011-09-26 15:11 +0200
>>> URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/9bb80f812fd7
>>>
>>> rebase coro to current hsx/hotspot-comp
>>>
>>> ! coro.patch
>>> ! series
>>>
>>> Changeset: 1bdc6f420130
>>> Author:    Lukas Stadler <lukas.stadler at jku.at 
>>> <mailto:lukas.stadler at jku.at>>
>>> Date:      2011-09-27 18:34 +0200
>>> URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/1bdc6f420130
>>>
>>> coro: fixes to stack walking, support for ricochet frames
>>>
>>> ! coro.patch
>>>
>>> _______________________________________________
>>> mlvm-dev mailing list
>>> mlvm-dev at openjdk.java.net <mailto:mlvm-dev at openjdk.java.net>
>>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>> _______________________________________________
>> mlvm-dev mailing list
>> mlvm-dev at openjdk.java.net <mailto:mlvm-dev at openjdk.java.net>
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
>
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110927/63d2914c/attachment-0001.html 


More information about the mlvm-dev mailing list