Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 10:38:42 -0700 (MST)
From:      "Russell L. Carter" <rcarter@pinyon.org>
To:        hasty@rah.star-gate.com, nate@mt.sri.com
Cc:        F.Risso@cs.ucl.ac.uk, freebsd-java@FreeBSD.ORG
Subject:   Re: Native thread on JDK 1.1.7
Message-ID:  <199903171738.KAA37133@vip.consys.com>
In-Reply-To: <199903171712.KAA10340@mt.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
|> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903171738.KAA37133>