Date: Sun, 29 Sep 2002 23:41:51 -0500 From: Brennan Stehling <brennan@offwhite.net> To: Alexey Zelkin <phantom@FreeBSD.ORG>, freebsd-java@FreeBSD.ORG Subject: Re: native jdk 1.4 Message-ID: <F043C5E4-D42E-11D6-821D-003065F6F346@offwhite.net> In-Reply-To: <20020925193911.A39217@phantom.cris.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Would it make sense to use the Apache Portable Runtime as a base for the FreeBSD Java VM? I figure that it was created due to the difference in pthread support between platforms and if you base the Java VM on top of APR then you can let APR do what it has to do and the JVM code can be much more portable. My skills do not lie in this area, but it would make sense if you port the software to work with APR it would simplify work to move it to NetBSD, OpenBSD, Darwin and possibly over to Linux and MacOS X. If all works out ideally, you could serve up identical code for each platform and APR is the piece which conforms to the environment. But again, I do not know the deep technical details. I would be curious as to the main VM developers on this list. - Brennan On Wednesday, September 25, 2002, at 11:39 AM, Alexey Zelkin wrote: > hi, > > On Wed, Sep 25, 2002 at 11:59:20AM -0400, Daniel Fisher wrote: >> Hello, >> I've read some discussion on this list about a native port of jdk 1.4. >> Is it available for testing somewhere? >> I can't find it in the ports CVS. >> If not what is the recommendation for people who must use 1.4? >> I've tried using the linux-sun port, but it won't even compile must >> less run any classes. > > Unfortunatelly effort is stalled now. I have started back in August > porting > based on linux hotspot sources, but there are a lot of differences in > (primarily) stack management between FreeBSD pthread and LinuxThreads. > > After spending of unreasonable period of time in attempt to rewrite > stack management I had to stop and switch to Solaris source base. > > Switch was succesfuly done in begining of September - no one of > previously > existent linux problems appeared, but instead I got few very specific > problems with signals there. Deep kernel signalling and libc_r signals > handling and talk to Daniel shown that this scheme (solaris based) will > not work for -STABLE 100% correctly (it worked somehow after some > hackery) > until {get,set}context() functions are MFCed (along with other stuff). > > I have hoped to get a testing machine to setup -CURRENT last week and > continue, but still not have it :-( > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F043C5E4-D42E-11D6-821D-003065F6F346>