Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2006 11:21:19 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Lev Serebryakov <lev@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: KSE, libpthread & libthr: almost newbie question
Message-ID:  <454650AF.3070901@elischer.org>
In-Reply-To: <31392371.20061030100012@serebryakov.spb.ru>
References:  <917908193.20061027102647@serebryakov.spb.ru>	<20061027103924.F79313@fledge.watson.org>	<45426071.7020403@elischer.org>	<602423478.20061028001449@serebryakov.spb.ru>	<4542896D.1050001@elischer.org>	<20061027231642.GJ30707@riyal.ugcs.caltech.edu>	<45429703.8070305@elischer.org>	<20061028104741.Q69980@fledge.watson.org>	<45442A35.2030803@elischer.org>	<20061029090309.T27107@fledge.watson.org> <4544D4FC.4070201@samsco.org>	<45458C1F.5000006@elischer.org> <31392371.20061030100012@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Lev Serebryakov wrote:
> Hello Julian,
> 
> Monday, October 30, 2006, 8:22:39 AM, you wrote:
> 
> JE> so, why does it use 1:1 threads?
> JE> who knows what the thinking here was?
>   I know. I'm working in Java2SE group (runtime) in Sun now :)
> 
>   It usese 1:1 threads because primary platform for Java2SE is Solaris, and threading on Solaris is very good (almost perfect). It is cheaper to have 1:1 threads on Solaris (and on Win32, too, BTW), than have additional layer of custom scheduler in JVM. JVM has many thing to do, and it prefer to use system scheduler.
>   N:M/1:1 change on Solaris is mostly Solaris change, not Java one: Java uses system default threading.
> 

so what does the jave on freeBSD use?

 >

> 



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