From owner-freebsd-java Wed Mar 17 9:39:28 1999 Delivered-To: freebsd-java@freebsd.org Received: from vip.consys.com (VIP.ConSys.COM [209.141.107.6]) by hub.freebsd.org (Postfix) with ESMTP id 7AE34152F6 for ; Wed, 17 Mar 1999 09:39:24 -0800 (PST) (envelope-from rcarter@pinyon.org) Received: (from pinyon@localhost) by vip.consys.com (8.9.3/8.9.1) id KAA37133; Wed, 17 Mar 1999 10:38:42 -0700 (MST) Date: Wed, 17 Mar 1999 10:38:42 -0700 (MST) From: "Russell L. Carter" Message-Id: <199903171738.KAA37133@vip.consys.com> To: hasty@rah.star-gate.com, nate@mt.sri.com Subject: Re: Native thread on JDK 1.1.7 Cc: F.Risso@cs.ucl.ac.uk, freebsd-java@FreeBSD.ORG In-Reply-To: <199903171712.KAA10340@mt.sri.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org |> We do support kernel threads and they are virtually the same as the linux |> threads. | |Not quite. We support *LINUX* threads in emulation mode with a GPL |add-on package, but we don't have native kernel threads in a form usable |by native FreeBSD software. It is a GPL'd port but it sure as hell works just fine for native FreeBSD software. I have made *enormous* progress with ACE/TAO using LinuxThreads. And if the app needs anything resembling "modern" threads, it is the only way to go. | |(And I don't consider using the GPL code a requirement to use the JDK |'usable'.) That's another matter entirely. I'd rather it wasn't either. On the other hand, I'm getting paid to make things work that require the functionality that is *only* in LinuxThreads. | |Besides, using green threads almost always outperforms native threads on |single processor boxes, even on server's with the existing green-threads |implemention. (This has been my experience on both FreeBSD and Solaris, |although I can't give you any benchmark numbers to prove it since my |application is not a benchmark.) Well, getting benchmark numbers is exactly what I'm working on this week. | |Also, it appears that getting kernel threads and a JIT working is |difficult, as noted by the Linux JDK2 port. | |IMO, native threads is over-rated for most applications. | IMO, the LinuxThreads port is the *only* option for most (modern) applications. :-) Cheers, Russell | | |Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message