From owner-freebsd-java Wed Mar 17 9:13:46 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id E560514C46 for ; Wed, 17 Mar 1999 09:13:44 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id KAA04479; Wed, 17 Mar 1999 10:12:21 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA10340; Wed, 17 Mar 1999 10:12:07 -0700 Date: Wed, 17 Mar 1999 10:12:07 -0700 Message-Id: <199903171712.KAA10340@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Amancio Hasty Cc: Nate Williams , Fulvio Risso , "'freebsd-java@FreeBSD.org'" Subject: Re: Native thread on JDK 1.1.7 In-Reply-To: <199903171706.JAA12113@rah.star-gate.com> References: <199903171630.JAA10082@mt.sri.com> <199903171706.JAA12113@rah.star-gate.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid 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. (And I don't consider using the GPL code a requirement to use the JDK 'usable'.) 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.) 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. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message