Re: Coroutines in JDK8++?

2012-04-02 Thread Martijn Verburg
Hi Mark, On 3 April 2012 00:40, Mark Roos wrote: > Hi Martijn > > If the effort meets my needs I'll be there to help. My goal is a full > implementation > of Smalltalk on the JVM. One thing I need is the ability to manipulate a > suspended > thread from the object side. For this Lukas' work s

Re: Coroutines in JDK8++?

2012-04-02 Thread Mark Roos
Hi Martizn If the effort meets my needs I'll be there to help. My goal is a full implementation of Smalltalk on the JVM. One thing I need is the ability to manipulate a suspended thread from the object side. For this Lukas' work seems a good fit. My concern is that (as John Rose points out )

Re: Coroutines in JDK8++?

2012-04-02 Thread Mark Roos
Hi Lukas 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 ). On the same topic I recall that you build a small object code piece to give ac

Re: Coroutines in JDK8++?

2012-04-02 Thread Patrick Wright
> In this case I think the suitable thing to do would be to coordinate work > around > your existing patch via some sort of OSS project and look at all of the > aspects > that would need to be covered in order for it to be accepted into the > OpenJDK. > For example, a lot of thought will need to go

Re: Coroutines in JDK8++?

2012-04-02 Thread Martijn Verburg
Hi Lukas/Charlie, Basically we're trying to get more people involved in the OpenJDK as well as helping projects like coroutines get into a good shape for possible inclusion into the OpenJDK. This includes helping out with JEP and JSR processes as a project matures. In this case I think the suitab

Re: Coroutines in JDK8++?

2012-04-02 Thread Charles Oliver Nutter
Getting coro into JDK8 is obviously not possible now, but the sooner we get started the more likely we can shoot for JDK9. That needs people with cycles. I have some, and I'm willing to help, but I do not know how the JSR process works (yes, I should learn) and I'm not enough of a VM-level expert t

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: bug in MacroAssembler::check_method_handle_type for x86

2012-04-02 Thread Christian Thalinger
On Mar 29, 2012, at 7:25 PM, Christian Thalinger wrote: > > On Mar 28, 2012, at 7:31 PM, John Rose wrote: > >> On Mar 21, 2012, at 8:17 AM, Christian Thalinger wrote: >> >>> John, I think there is a bug in MacroAssembler::check_method_handle_type >>> for x86 (with meth-lazy): >> >> That's co