Re: Coro in Java 8

2011-04-28 Thread Lukas Stadler
I totally agree as well, naturally :-) And I do plan on spending more time on the coroutine patch again, I didn't do much coding in the last months because I was occupied at university. The result of this is my thesis on coroutines: http://ssw.jku.at/Research/Papers/Stadler11Master/ The corout

Re: Coro in Java 8

2011-04-29 Thread Lukas Stadler
Am 2011-04-28 15:00, schrieb Mark Roos: Of course I would love to see the low level infrastructure in jdk7 binaries. Well, that would be cool, but I think the scope for JDK7 is very much fixed by now, and it's a much too short timeframe anyway... My thought was to use coroutines to emulate Smal

hg: mlvm/mlvm/hotspot: 3 new changesets

2011-04-29 Thread lukas . stadler
Changeset: 76c1e87d8341 Author:Lukas Stadler Date: 2011-04-29 16:44 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/76c1e87d8341 meth: small fix, distinct arg names ! meth-conv-6939861.patch Changeset: d3a3a7977609 Author:Lukas Stadler Date: 2011-04-29 18

hg: mlvm/mlvm/jdk: coro: rebase and small fix to series file

2011-04-29 Thread lukas . stadler
Changeset: abe7e564b727 Author:Lukas Stadler Date: 2011-04-29 18:22 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/abe7e564b727 coro: rebase and small fix to series file ! coro.patch ! series ___ mlvm-dev mailing list mlvm-dev

hg: mlvm/mlvm/jdk: coro: add missing makefile

2011-05-03 Thread lukas . stadler
Changeset: e4131e8508d2 Author:Lukas Stadler Date: 2011-05-03 17:34 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/e4131e8508d2 coro: add missing makefile ! coro.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http

Re: mlvm build with coroutines -- but coro tests fail

2011-05-03 Thread Lukas Stadler
Ah - since invokedynamic doesn't use the java.dyn package any more the necessary build infrastructure went missing... I just re-added it. One of the tests still fails, but at least it compiles... - Lukas On 05/02/2011 05:27 PM, Stephen Bannasch wrote: > I've uploaded a build of mlvm with coro en

Re: mlvm build with coroutines -- but coro tests fail

2011-05-04 Thread Lukas Stadler
ndalone.patch" and "coro.patch" or "coro-meth.patch" and "coro.patch". - Lukas On 05/04/2011 05:35 AM, Stephen Bannasch wrote: > At 5:42 PM +0200 5/3/11, Lukas Stadler wrote: >> Ah - since invokedynamic doesn't use the java.dyn package any more the

Re: mlvm build with coroutines -- but coro tests fail

2011-05-04 Thread Lukas Stadler
On 05/03/2011 11:22 PM, Rémi Forax wrote: > On 05/03/2011 10:53 PM, Charles Oliver Nutter wrote: >> Brainstorming coro package names... >> >> java.lang.invoke isn't bad, perhaps, but it is a different form of >> invocation than invokedynamic. >> >> This is a core JVM feature, so something under ja

hg: mlvm/mlvm/hotspot: 2 new changesets

2011-05-04 Thread lukas . stadler
Changeset: 23711c7b5e01 Author:Lukas Stadler Date: 2011-05-04 15:39 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/23711c7b5e01 coro: add coro split patch files + coro-meth.patch + coro-standalone.patch Changeset: 377cca74da82 Author:Lukas Stadler Date

hg: mlvm/mlvm/hotspot: coro: small fix to make coro-standalone.patch apply cleanly

2011-05-24 Thread lukas . stadler
Changeset: 6f539545926f Author:Lukas Stadler Date: 2011-05-24 16:01 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/6f539545926f coro: small fix to make coro-standalone.patch apply cleanly ! coro-standalone.patch ___ mlvm

hg: mlvm/mlvm/hotspot: coro: automatically initialize coroutine classes, small fix to serialization

2011-05-27 Thread lukas . stadler
Changeset: dd80fa134525 Author:Lukas Stadler Date: 2011-05-27 11:20 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/dd80fa134525 coro: automatically initialize coroutine classes, small fix to serialization ! coro.patch

hg: mlvm/mlvm/jdk: coro: automatically initialize coroutine classes

2011-05-27 Thread lukas . stadler
Changeset: d035e99307ff Author:Lukas Stadler Date: 2011-05-27 11:21 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/d035e99307ff coro: automatically initialize coroutine classes ! coro.patch ___ mlvm-dev mailing list mlvm-dev

hg: mlvm/mlvm/jdk: 3 new changesets

2011-09-27 Thread lukas . stadler
Changeset: f822e08b76c6 Author:Lukas Stadler Date: 2011-09-26 15:21 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/f822e08b76c6 rebase coro to hsx/hotspot-comp ! series Changeset: cb58978c5fa2 Author:Lukas Stadler Date: 2011-09-27 18:36 +0200 URL: http

hg: mlvm/mlvm/hotspot: 2 new changesets

2011-09-27 Thread lukas . stadler
Changeset: 9bb80f812fd7 Author:Lukas Stadler 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 Date: 2011-09-27 18

Re: hg: mlvm/mlvm/hotspot: 2 new changesets

2011-09-27 Thread Lukas Stadler
, at 21:43 , Remi Forax wrote: > Cool ! > > Remi > > > lukas.stad...@jku.at wrote: > >> Changeset: 9bb80f812fd7 >> Author:Lukas Stadler >> Date: 2011-09-26 15:11 +0200 >> URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/9bb8

hg: mlvm/mlvm/hotspot: coro: bugfix

2011-09-29 Thread lukas . stadler
Changeset: 47f0b00a6005 Author:Lukas Stadler Date: 2011-09-29 15:03 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/47f0b00a6005 coro: bugfix (crash when termination of one coroutine is immediately followed by starting another one) ! coro.patch

hg: mlvm/mlvm/hotspot: coro: fix crash in thread-to-thread migration

2011-10-24 Thread lukas . stadler
Changeset: a51503c27b03 Author:Lukas Stadler Date: 2011-10-24 18:18 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/a51503c27b03 coro: fix crash in thread-to-thread migration ! coro.patch ___ mlvm-dev mailing list mlvm-dev

hg: mlvm/mlvm/jdk: coro: fix to serialization

2011-10-31 Thread lukas . stadler
Changeset: ca450b9f8b56 Author:Lukas Stadler Date: 2011-10-31 15:45 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/ca450b9f8b56 coro: fix to serialization ! coro.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http

Re: Coro patch

2011-11-06 Thread Lukas Stadler
/ - Lukas On Nov 6, 2011, at 22:12 , Henri Gomez wrote: > Hi to all, > > I'm looking for Coro patch by Lukas Stadler, any body knows where I can find > it ? > ___ > mlvm-dev mailing list > mlvm-dev@openjdk.java.net > http:/

Re: Coro patch

2011-11-29 Thread Lukas Stadler
i Gomez: Le 6 nov. 2011 à 22:12, Henri Gomez a écrit : Hi to all, I'm looking for Coro patch by Lukas Stadler, any body knows where I can find it ? More on this, I found patch here (http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/ca450b9f8b56), but wondering if it's allready applied t

hg: mlvm/mlvm/hotspot: coro: fix for stack walking displaced ricochet frames

2011-11-29 Thread lukas . stadler
Changeset: a798eba1f10a Author:Lukas Stadler Date: 2011-11-29 13:57 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/a798eba1f10a coro: fix for stack walking displaced ricochet frames ! coro.patch ___ mlvm-dev mailing list

Re: Coro patch

2011-11-30 Thread Lukas Stadler
On 2011-11-30 08:49, Charles Oliver Nutter wrote: > Seconds after I email...A DISCOVERY... > > It seems like invokedynamic is causing headaches for coro. Here's the > numbers with coro fibers and JRuby's invokedynamic support turned > *off*: > > 100 fibers / 1000 passes: 0.076000 0.00 0.0

Re: Coro patch

2011-11-30 Thread Lukas Stadler
On 2011-11-30 11:20, Charles Oliver Nutter wrote: > On Wed, Nov 30, 2011 at 4:17 AM, Lukas Stadler wrote: >> Hm, maybe... the fix was really just a tiny tiny bugfix, so that >> shouldn't have caused any performance regressions, although, of course, >> I can't say f

Re: Coroutines in JDK8++?

2012-04-02 Thread Lukas Stadler
Hi, I've last updated the coro patch beginning of December, and people have been compiling and using it at least mid-February. It is quite experimental, but it's complete enough to prove the usefulness of coroutines on a JVM. One important step towards coroutines on Java is a JSR, I guess...

Re: Coroutines in JDK8++?

2012-04-03 Thread Lukas Stadler
Hi! Am 2012-04-02 23:40, schrieb Mark Roos: A question I have on your coro implementation is just how sensitive it is to changes in HotSpot. I am planning to give it a go and am wondering if I need to be a Hotspot expert as well ( in case it breaks ). It is independent of most subsystems, for e

hg: mlvm/mlvm/hotspot: coro: small fix for compile problem

2012-06-06 Thread lukas . stadler
Changeset: 9d276b16643a Author:Lukas Stadler Date: 2012-06-06 13:21 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/9d276b16643a coro: small fix for compile problem ! coro.patch ___ mlvm-dev mailing list mlvm-dev

hg: mlvm/mlvm/jdk: coro: make number of stack per thread configurable

2012-06-06 Thread lukas . stadler
Changeset: b77c7e55d1ae Author:Lukas Stadler Date: 2012-06-06 13:22 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/b77c7e55d1ae coro: make number of stack per thread configurable ! coro.patch ___ mlvm-dev mailing list mlvm-dev

Re: CFV: New Multi-Language VM Committer: Michael Haupt

2012-06-20 Thread Lukas Stadler
to > to this mailing list. > > For Lazy Consensus voting instructions, see [2]. > > Here is more information to expedite voting: > > Eligible voters are current MLVM committers, who are John Rose, Christian > Thalinger, and Lukas Stadler. Replies must be made publicly. The b

hg: mlvm/mlvm/hotspot: coro: fix coro.patch problem with vmSymbols.hpp

2012-07-17 Thread lukas . stadler
Changeset: c489641155e3 Author:Lukas Stadler Date: 2012-07-17 11:59 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/c489641155e3 coro: fix coro.patch problem with vmSymbols.hpp ! coro.patch ___ mlvm-dev mailing list mlvm

Re: failure compiling coroutine.cpp when coro guard enabled

2012-07-17 Thread Lukas Stadler
I just pushed a fix for this problem... - Lukas Am 2012-07-16 07:40, schrieb John Rose: On Jul 15, 2012, at 3:56 PM, Stephen Bannasch wrote: I'm getting this error compiling coroutine.cpp when I add "coro" to my guards coroutine.cpp:111: error: 'startInternal_method_name' is not a member

hg: mlvm/mlvm/jdk: 2 new changesets

2012-07-26 Thread lukas . stadler
Changeset: 1bb873eba051 Author:Lukas Stadler Date: 2012-07-25 14:19 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/1bb873eba051 fix meth-7177472.patch for recent changes in meth-lazy-7023639.patch ! meth-7177472.patch Changeset: 90c60ec5aba4 Author:Lukas Stadler

hg: mlvm/mlvm/hotspot: 2 new changesets

2012-07-26 Thread lukas . stadler
Changeset: b4050524c2ff Author:Lukas Stadler Date: 2012-07-26 17:10 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/b4050524c2ff coro: updated patch, new coro-simple version - coro-meth.patch + coro-simple.patch - coro-standalone.patch ! coro.patch ! series Changeset

hg: mlvm/mlvm/hotspot: coro-simple.patch: rebasing fixes

2013-09-05 Thread lukas . stadler
Changeset: 920e65ad4626 Author:Lukas Stadler Date: 2013-09-05 18:02 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/920e65ad4626 coro-simple.patch: rebasing fixes ! coro-simple.patch ___ mlvm-dev mailing list mlvm-dev

Re: stack manipulation APIs

2008-04-07 Thread Lukas Stadler
Steven Shaw wrote: > On 27/03/2008, Lukas Stadler <[EMAIL PROTECTED]> wrote: > >> This could lead to all sorts of harmful behavior, like exiting a >> monitor twice, etc. Should this be possible, or will only a >> restricted case be implemented? Th

Re: Status of callcc

2008-04-24 Thread Lukas Stadler
Hi! I'm working on this for 1 1/2 months now (under Johns supervision). I've implemented the deserialization part and I'm currently finishing an alternative representation of the serialized stack that is more accessible from the Java side. This should soon be finished and I'll hopefully be abl

Re: what's John doing?

2008-08-12 Thread Lukas Stadler
Hi John! I was looking at your method handle changeset and I was wondering if in the long run method handles will be serializable? Thinking about (serializable) continuations it would be very convenient if method handles would behave like java.lang.Class (which are serializable). Currently if y

Re: happy new year!

2009-01-21 Thread Lukas Stadler
Hi! I'm working on the continuations part... I have recently started a new approach to the continuations copy and resume implementation. I was never all that happy with using the debugging structures to extract the information from the stack frames. So I've now developed an algorithm that store

Re: Continuations, here I come

2009-07-31 Thread Lukas Stadler
Hi everybody! It's been a while since I posted the last update about the continuations work: As Christian already mentioned we wrote a paper about the implementation of the continuation capture/resume functionality. The paper isn't published yet but I can send private copies to anyone who's in

hg: mlvm/mlvm/hotspot: callcc: new implementation

2009-09-18 Thread lukas . stadler
Changeset: e238e03d8993 Author:lstadler Date: 2009-09-19 01:02 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/e238e03d8993 callcc: new implementation ! callcc.patch ! callcc.txt ! series ___ mlvm-dev mailing list mlvm-dev@op

hg: mlvm/mlvm/jdk: callcc: new implementation

2009-09-18 Thread lukas . stadler
Changeset: 9c5f72a3578d Author:lstadler Date: 2009-09-19 01:00 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/9c5f72a3578d callcc: new implementation ! callcc.patch ! series ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net ht

hg: mlvm/mlvm/hotspot: callcc bugfixes

2009-11-12 Thread lukas . stadler
Changeset: bf5b4b1bca33 Author:lstadler Date: 2009-11-12 17:11 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/bf5b4b1bca33 callcc bugfixes ! callcc.patch ! series ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://ma

hg: mlvm/mlvm/jdk: continuation bugfixes, coroutine prototype

2009-11-12 Thread lukas . stadler
Changeset: c44366606742 Author:lstadler Date: 2009-11-12 17:13 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/c44366606742 continuation bugfixes, coroutine prototype ! callcc.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java

coroutine support

2009-11-12 Thread Lukas Stadler
Hi everybody! I've just checked in the first prototype of a coroutine implementation. It's implemented using the continuations framework, so it's not very speedy (~1µs per context switch in a simple example) but it allows me to experiment on how the API for coroutines could look like. This is h

hg: mlvm/mlvm/hotspot: fixed compilation problem: "taking address of temporary"

2009-11-12 Thread lukas . stadler
Changeset: ecb126590f9d Author:lstadler Date: 2009-11-12 22:16 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/ecb126590f9d fixed compilation problem: "taking address of temporary" ! callcc.patch ___ mlvm-dev mailing list mlv

Re: coroutine support

2009-11-12 Thread Lukas Stadler
I fixed that one. I'm compiling with MSVC - I guess I should really switch to another platform... - Lukas Charles Oliver Nutter wrote: > Ok, no dice for me so far. Here's the complete g++ error. I'm really > excited to try this out, so please give me some tips :) _

Re: coroutine support

2009-11-12 Thread Lukas Stadler
Charles Oliver Nutter schrieb: > On Thu, Nov 12, 2009 at 3:20 PM, Lukas Stadler wrote: > >> I fixed that one. I'm compiling with MSVC - I guess I should really >> switch to another platform... >> > > No doubt :) > > I got farther, but then this

Re: coroutine support

2009-11-13 Thread Lukas Stadler
les Oliver Nutter wrote: > On Thu, Nov 12, 2009 at 6:30 PM, Lukas Stadler wrote: > >> It's quite clearly no use fixing those one at a time - I'll build with >> gcc tomorrow and let you know as soon as it works. >> > > Ok, great, I'll stand by. I

hg: mlvm/mlvm/hotspot: fixed more gcc compile problems

2009-11-13 Thread lukas . stadler
Changeset: d0b585dd77a1 Author:lstadler Date: 2009-11-13 17:35 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/d0b585dd77a1 fixed more gcc compile problems ! callcc.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net ht

Re: coroutine support

2009-11-14 Thread Lukas Stadler
Ah, yes... I forgot to mention: it's currently only implemented in C1, and it doesn't even compile on C2 because I had to extend the compiler interface. But I'll probably get rid of that, and then it will be a lot easier to get C2 working as well. You're of course right about the graceful shutd

hg: mlvm/mlvm/hotspot: callcc classes optional, works with sp-based get_thread

2009-11-19 Thread lukas . stadler
Changeset: bac38c946133 Author:lstadler Date: 2009-11-19 18:50 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/bac38c946133 callcc classes optional, works with sp-based get_thread ! callcc.patch ___ mlvm-dev mailing list mlvm

Re: coroutine support

2009-11-19 Thread Lukas Stadler
Hi! Rémi Forax wrote: > Hi Lukas, > Your example doesn't work on my laptop: Ok, after I finally got everything running on Linux+Netbeans so that I can debug into the assembly code I was able to reproduce this. In one place I used Assembler.get_thread without a valid esp, which is totally fine o

Re: coroutine support

2009-11-19 Thread Lukas Stadler
Rémi Forax schrieb: > Could you re-explain where I have to put annotations and which one ? > Of course. If you want to yield a value within generate then the contents of the generate-stackframe need to be stored. In order to allow this it needs to be marked as @Continuable: @Continuable @Over

Re: @Continuable

2009-11-23 Thread Lukas Stadler
Hi! Rémi Forax wrote: > Hi all, Hi Lukas, > I've sucessfully used continuation with non blocking IO, this is > really cool. > see > http://weblogs.java.net/blog/forax/archive/2009/11/22/nio-server-continuation-java > I'm very happy to hear that, thanks for putting this on your blog! > But @Continu

coroutines once more...

2009-12-01 Thread Lukas Stadler
Hi everybody! I would be very interested to hear what the expectations for a coroutine implementations for Java are. I am asking because I am facing some initial design decisions on my way. There is a quite simple tradeoff between memory/address space usage and execution speed: * Using "tradit

coroutine status update

2010-01-14 Thread Lukas Stadler
Hi everybody! For those who are interested in it I wrote up a blog entry about the current status of the coroutine subproject: http://classparser.blogspot.com/2010/01/coroutines.html cheers, Lukas ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net h

hg: mlvm/mlvm/hotspot: hotswap: New patch. Main changes are:

2010-02-03 Thread lukas . stadler
Changeset: 4f9420785686 Author:Thomas Wuerthinger (thomas.wuerthin...@gmx.at) Date: 2010-02-03 10:43 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/4f9420785686 hotswap: New patch. Main changes are: - Improved instance update performance (mark&compact modification, comp

hg: mlvm/mlvm/hotspot: new efficient coroutine implementation

2010-03-09 Thread lukas . stadler
Changeset: 97cd3db5617f Author:lstadler Date: 2010-03-09 22:10 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/97cd3db5617f new efficient coroutine implementation + coro.patch ! series ___ mlvm-dev mailing list mlvm-dev@openj

hg: mlvm/mlvm/jdk: new efficient coroutine implementation

2010-03-09 Thread lukas . stadler
Changeset: 12a82472c650 Author:lstadler Date: 2010-03-09 22:27 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/12a82472c650 new efficient coroutine implementation + coro.patch ! series ___ mlvm-dev mailing list mlvm-dev@openjdk.j

coroutines

2010-03-10 Thread Lukas Stadler
Hi everybody! As you've probably seen I've pushed a new coroutine implementation into the repository. I've posted a few examples and precompiled binaries on my blog: http://classparser.blogspot.com/2010/03/coroutines-for-java-status-update.html Maybe someone wants to give it a try? :-) cheers,

Re: coroutines

2010-03-11 Thread Lukas Stadler
Yes, the coro patch should be applied without continuations. It doesn't need any of the continuation functionality - maybe I should make that more clear in the series file... - Lukas On 11.03.2010 12:58, Christian Thalinger wrote: > On Wed, 2010-03-10 at 17:04 +0100, Lukas Stadl

hg: mlvm/mlvm/jdk: coroutine api simplification

2010-04-01 Thread lukas . stadler
Changeset: 98e0f1ac4b42 Author:l...@polonius.ssw.uni-linz.ac.at Date: 2010-04-01 17:37 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/98e0f1ac4b42 coroutine api simplification ! coro.patch ___ mlvm-dev mailing list mlvm-dev@open

hg: mlvm/mlvm/hotspot: coroutine api simplification

2010-04-01 Thread lukas . stadler
Changeset: 868956c9fe9e Author:lstadler Date: 2010-04-01 17:39 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/868956c9fe9e coroutine api simplification ! coro.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://

JRuby with coroutines

2010-04-06 Thread Lukas Stadler
Today I toyed around a little bit with JRuby and coroutines. I modified JRuby to use my coroutine implementation and ran some fiber-microbenchmarks. The results are pretty good: http://classparser.blogspot.com/2010/04/jruby-coroutines-really-fast.html I know that the gains won't be nearly as big

Re: JRuby with coroutines

2010-04-07 Thread Lukas Stadler
Wow, I didn't expect to instantly get that much feedback! I'm sorry, I should have updated the code examples to reflect the API changes I did last week. I'm currently writing a paper about the coroutine implementation for this year's PPPJ conference. That'll take up most of my time for the nex

Re: coro patch issue

2010-05-12 Thread Lukas Stadler
Hi! Ok, I see... 64-bit support is something that I'm working on right now, I probably should've put in an assertion to make that clear. Sorry! It'll be finished in a week or so. (why are there different java calling conventions in linux and windows? argh...) I hope you're ok with using the 3

hg: mlvm/mlvm/hotspot: added 64 bit support

2010-06-02 Thread lukas . stadler
Changeset: 4c9c806f7fa2 Author:lstadler Date: 2010-06-02 18:12 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/4c9c806f7fa2 added 64 bit support ! coro.patch ! series ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http:/

hg: mlvm/mlvm/jdk: added tests and CoroutineLocals

2010-06-02 Thread lukas . stadler
Changeset: d1e4354e024a Author:lstadler Date: 2010-06-02 18:12 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/d1e4354e024a added tests and CoroutineLocals ! coro.patch ! series ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net

Re: hg: mlvm/mlvm/jdk: added tests and CoroutineLocals

2010-06-07 Thread Lukas Stadler
Well, I finally got my hands on a Mac machine, I'll investigate as soon as I've finished installing. - Lukas On 03.06.2010 03:55, Stephen Bannasch wrote: > At 1:06 PM -0400 6/2/10, Stephen Bannasch wrote: > >> Hi Lukas, >> >> It's great to see coro land. >> >> I'm now getting these errors tr

hg: mlvm/mlvm/hotspot: BSD support

2010-06-08 Thread lukas . stadler
Changeset: 21e6fa0e8bea Author:lstadler Date: 2010-06-08 14:21 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/21e6fa0e8bea BSD support ! coro.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java

Re: hg: mlvm/mlvm/jdk: added tests and CoroutineLocals

2010-06-08 Thread Lukas Stadler
I had to change a few bits here and there, and it now works on my Mac (at least in 32 bit). Charlie: cleaning up the JRuby code and sending it to you is now officially the next thing on my list... - Lukas On 07.06.2010 19:17, Lukas Stadler wrote: > Well, I finally got my hands on a Mac mach

hg: mlvm/mlvm/jdk: 2 new changesets

2010-06-08 Thread lukas . stadler
Changeset: ce987dd2dfd3 Author:lstadler Date: 2010-06-08 14:22 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/ce987dd2dfd3 fixed missing class ! coro.patch Changeset: 3a9c60819392 Author:lstadler Date: 2010-06-08 14:27 +0200 URL: http://hg.openjdk.java.net/

hg: mlvm/mlvm/jdk: added yieldTo method

2010-06-15 Thread lukas . stadler
Changeset: 103d9a6b740e Author:lstadler Date: 2010-06-15 15:36 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/103d9a6b740e added yieldTo method ! coro.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk

Re: hg: mlvm/mlvm/jdk: added yieldTo method

2010-06-15 Thread Lukas Stadler
ah... sorry. I forgot that I renamed this file (CoroutineExitException to CoroutineDeath). I'll fix it first thing tomorrow morning. - Lukas On 15.06.2010 17:33, Stephen Bannasch wrote: > At 1:37 PM + 6/15/10, lukas.stad...@jku.at wrote: > >> Changeset: 103d9a6b740e >> Author:lstadler

hg: mlvm/mlvm/jdk: coro: renamed ExitException to CoroutineDeath

2010-06-16 Thread lukas . stadler
Changeset: 3f195638e5b2 Author:lstadler Date: 2010-06-16 09:50 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/3f195638e5b2 coro: renamed ExitException to CoroutineDeath ! coro.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.jav

Re: hg: mlvm/mlvm/jdk: coro: renamed ExitException to CoroutineDeath

2010-06-17 Thread Lukas Stadler
Yes, this is in there as well. The Thread modification was just the reason why you had to prepend it to the classpath. - Lukas On 16.06.2010 22:49, Charles Oliver Nutter wrote: > Thanks Stephen! > > Lukas: Does this now have all changes needed to use it? The patches > you sent me for JRuby were

hg: mlvm/mlvm/hotspot: coro: rebased to 4afae810a801, small changes and fixes for x86_64

2010-10-28 Thread lukas . stadler
Changeset: 2d3417bec342 Author:Lukas Stadler Date: 2010-10-28 12:09 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/2d3417bec342 coro: rebased to 4afae810a801, small changes and fixes for x86_64 ! coro.patch ! series

hg: mlvm/mlvm/hotspot: new continuation patch

2010-10-28 Thread lukas . stadler
Changeset: b63b73832341 Author:Hiroshi Yamauchi Date: 2010-10-28 15:18 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/b63b73832341 new continuation patch - callcc.patch - callcc.txt + callcc_old.patch + callcc_old.txt + continuation.patch ! series ___

hg: mlvm/mlvm/jdk: 2 new changesets

2010-10-28 Thread lukas . stadler
Changeset: 568ebe7237f1 Author:Hiroshi Yamauchi Date: 2010-10-28 15:14 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/568ebe7237f1 new continuation patch - callcc.patch + callcc_old.patch + continuation.patch ! series Changeset: 3d915c8e9b23 Author:Lukas Stadler

hg: mlvm/mlvm/jdk: coro: rebased

2010-10-28 Thread lukas . stadler
Changeset: 43021a5a0054 Author:Lukas Stadler Date: 2010-10-28 16:14 +0200 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/43021a5a0054 coro: rebased ! series ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http

Re: mlvm failed building coroutine.cpp on Mac OS X 10.4.6

2010-11-09 Thread Lukas Stadler
Hi! Could you please try also excluding the continuation patch? I think that it works only on Linux, at least it says so on the its wiki page. Maybe I should add a "Linux" guard... - Lukas Am 2010-11-09 03:21, schrieb Stephen Bannasch: > If I exclude the coro patch: > > export davinci=$(pwd

hg: mlvm/mlvm/hotspot: new version of the enhanced hotswapping code

2010-12-17 Thread lukas . stadler
Changeset: c4bf8cbde070 Author:Thomas Würthinger Date: 2010-12-17 18:29 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/c4bf8cbde070 new version of the enhanced hotswapping code ! hotswap.patch ! hotswap.txt + hotswaplight.patch ! series _

hg: mlvm/mlvm/jdk: coro: experimental coroutine thread migration and serialization

2010-12-21 Thread lukas . stadler
Changeset: b7b61c41e164 Author:Lukas Stadler Date: 2010-12-21 17:18 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/b7b61c41e164 coro: experimental coroutine thread migration and serialization ! coro.patch ___ mlvm-dev mailing

hg: mlvm/mlvm/hotspot: coro: experimental coroutine thread migration and serialization

2010-12-21 Thread lukas . stadler
Changeset: e09236f9d880 Author:Lukas Stadler Date: 2010-12-21 17:17 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/e09236f9d880 coro: experimental coroutine thread migration and serialization ! coro.patch ___ mlvm-dev

Re: hg: mlvm/mlvm/jdk: coro: experimental coroutine thread migration and serialization

2010-12-23 Thread Lukas Stadler
> Changeset: b7b61c41e164 > Author:Lukas Stadler > Date: 2010-12-21 17:18 +0100 > URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/b7b61c41e164 > > coro: experimental coroutine thread migration and serialization > > ! coro.patch > > _

hg: mlvm/mlvm/jdk: coro: API changes, new AsymRunnable

2011-02-24 Thread lukas . stadler
Changeset: b5764891a4cc Author:Lukas Stadler Date: 2011-02-24 13:11 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/b5764891a4cc coro: API changes, new AsymRunnable ! coro.patch ! series ___ mlvm-dev mailing list mlvm-dev

hg: mlvm/mlvm/hotspot: coro: fix macosx compile errors, fix UseCompressedOops+serialization crashes

2011-02-24 Thread lukas . stadler
Changeset: 323adeb29dbd Author:Lukas Stadler Date: 2011-02-24 13:30 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/323adeb29dbd coro: fix macosx compile errors, fix UseCompressedOops+serialization crashes ! coro.patch ! series

Re: are there tests for the coro patchset?

2011-02-28 Thread Lukas Stadler
Yes, there are some junit tests: jdk/test/java/dyn/CoroutineTest.java and CoroutineMigrationTest.java But - they don't have the proper tags for the jtreg tool, I will fix that... - Lukas Am 2011-02-25 16:50, schrieb Stephen Bannasch: > Thanks for updating the coro patch for macosx Lukas. > > It

hg: mlvm/mlvm/jdk: coro: add jtreg tags to coro unit tests

2011-03-02 Thread lukas . stadler
Changeset: e16f8f75573f Author:Lukas Stadler Date: 2011-03-02 11:35 +0100 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/e16f8f75573f coro: add jtreg tags to coro unit tests ! coro.patch ___ mlvm-dev mailing list mlvm-dev