AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

threads demystified

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware
View previous topic :: View next topic  
Author Message
Andersen
Guest





PostPosted: Fri Feb 11, 2005 5:43 pm    Post subject: threads demystified Reply with quote



How many threads can one application have at the same time in Java? Is
there a roof? Is it platform dependent, in that case, what is the number
for SUN's JVM on WIN32? Any info on this would help me.

What about green threads? they are out?

regards,
Andersen
Back to top
Sachin
Guest





PostPosted: Fri Feb 11, 2005 8:01 pm    Post subject: Re: threads demystified Reply with quote



Hi Andersen,

Not sure if the following thread helps ...

http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/ba0b73e49874fd3a/318178780f039744?q=Max+Java+Threads&_done=%2Fgroups%3Fhl%3Den%26q%3DMax+Java+Threads%26qt_s%3DSearch+Groups%26&_doneTitle=Back+to+Search&&d#318178780f039744

-Sachin

Back to top
Andersen
Guest





PostPosted: Sun Feb 13, 2005 2:00 am    Post subject: Re: threads demystified Reply with quote



One question, are java threads mapped to OS threads, or are they all
running within one single OS thread?

regards,
Andersen

Sachin wrote:

Quote:
Hi Andersen,

Not sure if the following thread helps ...

http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/ba0b73e49874fd3a/318178780f039744?q=Max+Java+Threads&_done=%2Fgroups%3Fhl%3Den%26q%3DMax+Java+Threads%26qt_s%3DSearch+Groups%26&_doneTitle=Back+to+Search&&d#318178780f039744

-Sachin


Back to top
Bill Tschumy
Guest





PostPosted: Sun Feb 13, 2005 2:29 am    Post subject: Re: threads demystified Reply with quote

On Sat, 12 Feb 2005 20:00:57 -0600, Andersen wrote
(in article <420EB4D9.6000208 (AT) hotmail (DOT) com>):

Quote:
One question, are java threads mapped to OS threads, or are they all
running within one single OS thread?

regards,
Andersen

Sachin wrote:

Hi Andersen,

Not sure if the following thread helps ...

http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/
thread/ba0b73e49874fd3a/318178780f039744?q=Max+Java+Threads&_done=%2Fgroups%
3Fhl%3Den%26q%3DMax+Java+Threads%26qt_s%3DSearch+Groups%26&_doneTitle=Back+t
o+Search&&d#318178780f039744

-Sachin


It is up to the implementation to decide since it is not spelled out in the
specification. On most platforms (Mac OS X, Windows, Linux) they are mapped
to OS-level threads. Early in Java's history, on Solaris they were not. The
Solaris JVM used green threads to implement the Java threading model. Not
sure if they still do that or not.

--
Bill Tschumy
Otherwise -- Austin, TX
http://www.otherwise.com


Back to top
Cindi
Guest





PostPosted: Sun Feb 13, 2005 3:50 am    Post subject: Re: threads demystified Reply with quote

http://blogs.ittoolbox.com/eai/leadership/archives/003046.asp

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.