Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 10:12:07 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Amancio Hasty <hasty@rah.star-gate.com>
Cc:        Nate Williams <nate@mt.sri.com>, Fulvio Risso <F.Risso@cs.ucl.ac.uk>, "'freebsd-java@FreeBSD.org'" <freebsd-java@FreeBSD.ORG>
Subject:   Re: Native thread on JDK 1.1.7 
Message-ID:  <199903171712.KAA10340@mt.sri.com>
In-Reply-To: <199903171706.JAA12113@rah.star-gate.com>
References:  <199903171630.JAA10082@mt.sri.com> <199903171706.JAA12113@rah.star-gate.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.

(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




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