From owner-freebsd-java Sun Sep 29 21:42: 1 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3FEC37B401; Sun, 29 Sep 2002 21:41:59 -0700 (PDT) Received: from home.offwhite.net (home.offwhite.net [216.127.197.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43F2143E3B; Sun, 29 Sep 2002 21:41:59 -0700 (PDT) (envelope-from brennan@offwhite.net) Received: from offwhite.net (adsl-67-39-32-203.dsl.milwwi.ameritech.net [67.39.32.203]) by home.offwhite.net (8.11.6/8.11.1) with ESMTP id g8U4n8f60117; Sun, 29 Sep 2002 23:49:08 -0500 (CDT) (envelope-from brennan@offwhite.net) Date: Sun, 29 Sep 2002 23:41:51 -0500 Subject: Re: native jdk 1.4 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v546) From: Brennan Stehling To: Alexey Zelkin , freebsd-java@FreeBSD.ORG Content-Transfer-Encoding: 7bit In-Reply-To: <20020925193911.A39217@phantom.cris.net> Message-Id: X-Mailer: Apple Mail (2.546) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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