Hi everyone,
I have read a article that when it comes to multi processor systems , we can't get the advantage of running multiple threads simultaneously since every threads are in a single JVM process. Indeed when I go further, I got to know that some JVM implementations are built to map Java thread to OS level native threads.
My question is this, by default I used sun's JVM 1.6 implementations which is widely spread among Java newbies.So
Q1.How does this modern JVM handle thread scheduling ?
Q2.Does it handle JVM itself or map Java threads to native threads ?
Q3.So what will happens to platform independence when operating system handles thread scheduling?
Please somebody give me clear answer.
Thanks & Regards,
Nuwan Arambage