Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2006 14:01:44 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Paul Allen <nospam@ugcs.caltech.edu>, Julian Elischer <julian@elischer.org>, Lev Serebryakov <lev@FreeBSD.org>, current@FreeBSD.org
Subject:   Re[2]: KSE, libpthread & libthr: almost newbie question
Message-ID:  <219211614.20061028140144@serebryakov.spb.ru>
In-Reply-To: <20061028104741.Q69980@fledge.watson.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Robert,

Saturday, October 28, 2006, 1:48:52 PM, you wrote:

RW> Does the JVM actually expose thousands of threads to the OS, or does it 
RW> actually do its own M:N threading internally based on its execution 
RW> model? 
RW> My impression is the latter, exposing threads to the OS only when it 
RW> needs them to consume kernel or CPU resources.
  Wrong. Java used to be N:M ("green threads") a long time ago, and all actual versions (1.4, 1.5, future 1.6) uses 1:1 model.

-- 
Best regards,
 Lev                            mailto:lev@FreeBSD.org




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