[jvm-l] Re: Tail calls again?

Tom Davies tgdavies at gmail.com
Sat Dec 12 03:09:44 PST 2009


On 11/12/2009, at 2:10 AM, Arnold Schwaighofer wrote:

> Hi everybody,
> 
> the latest version of the patches i have are against vanilla openjdk
> b59 (not mlvm). As far as I remember the patches would not cleanly
> apply to the mlvm branch at that time.
> 
> I build and tested on linux x86-32 (tail calls on x86-64 are not implemented).
> 
> Note that using the invokedynamic stuff together with this patch is
> not tested and very likely will not work.
> 
> Sadly, I currently can not devote much time to working on it.

Thanks for posting the patch, Arnold.

I've massaged it sufficiently to apply to the tip of bsd-port, and have a trivial tail recursive example compiling and running. (OS X 10.6, 32bit JDK)

Getting the patch to apply was easy (although there was a little 'fuzz' involved), but fixing a couple of subsequent compile errors required a little guesswork on my part.

I'm going to use the JDK a bit more to convince myself that I haven't broken anything...

Tom


More information about the mlvm-dev mailing list