Threading model and Scheduling
Hello to everybody! :-)
Here I have 2 simple questions:
In a 1 to 1 thread model ever Java Thread is mapped to a native Thread of the OS, so here the questions.
1- In a 1 to 1 thread model the threads are scheduled ONLY BY THE Operation System? Or, Does the JVM have its own scheduler for the Java Threads?
2- Do the java threads "fight" to be run by the CPU with ALL the threads in the OS, or just with the Threads of the JVM?
I need it to evaluate the lack of performance due by the Context Switch effect in a Java application
Thanks in advance!
Message was edited by: overflow