Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IS a thread scheduler part of JVM or OS ?

843789Dec 9 2009 — edited Dec 10 2009
Hi Folks,

Just curious if the thread scheduler is a part of the JVM or OS, or either or both ?

I tried few thread pages in JLS,but couldnot locate the exact sentence describing this.

However some other resources have given me contradicting information.

For example, [Reference1|http://www.deitel.com/articles/java_tutorials/20051126/JavaMultithreading_Tutorial_Part3.html] states that it is a part of the OS,whereas [Reference2|http://book.javanb.com/java-threads-3rd/jthreads3-CHP-9-SECT-1.html] states that it is a part of both.(I am not sure about the authority of these links.)

So assuming, thread scheduling is done by JVM it is a part of the JVM only or it uses the underlying OS for support.

Thank you for the consideration.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2010
Added on Dec 9 2009
14 comments
1,789 views