Re: KSE, libpthread & libthr: almost newbie question

From: Julian Elischer <julian_at_elischer.org>
Date: Sat, 28 Oct 2006 21:12:37 -0700
Robert Watson wrote:
> 
> On Fri, 27 Oct 2006, Julian Elischer wrote:
> 
>> there is class of problems (e.g. some java programs) that have 
>> THOUSANDS of threads, each representing an active aspect of some 
>> object. How do you put an rlimit on that without either 1/ stopping 
>> the program from working or 2/ allowing thousands of threads to exist 
>> but not screwing other users.
> 
> Does the JVM actually expose thousands of threads to the OS, or does it 
> actually do its own M:N threading internally based on its execution 
> model? My impression is the latter, exposing threads to the OS only when 
> it needs them to consume kernel or CPU resources.

I don't know the answer to that question, only that there is a class of 
program style that uses this model.

> 
> Robert N M Watson
> Computer Laboratory
> University of Cambridge
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Sun Oct 29 2006 - 03:12:38 UTC

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