Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / February 2005

Tip: Looking for answers? Try searching our database.

threads demystified

Thread view: 
Andersen - 11 Feb 2005 17:43 GMT
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
Sachin - 11 Feb 2005 20:01 GMT
Hi Andersen,

Not sure if the following thread helps ...

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


-Sachin
Andersen - 13 Feb 2005 02:00 GMT
One question, are java threads mapped to OS threads, or are they all
running within one single OS thread?

regards,
Andersen

> Hi Andersen,
>
[quoted text clipped - 3 lines]
>
> -Sachin
Bill Tschumy - 13 Feb 2005 02:29 GMT
> One question, are java threads mapped to OS threads, or are they all
> running within one single OS thread?
[quoted text clipped - 12 lines]
>>
>> -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.

Signature

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

Cindi - 13 Feb 2005 03:50 GMT
http://blogs.ittoolbox.com/eai/leadership/archives/003046.asp


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.