Re[2]: KSE, libpthread & libthr: almost newbie question

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Sat, 28 Oct 2006 14:01:44 +0400
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_at_FreeBSD.org
Received on Sat Oct 28 2006 - 08:02:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC