Thread States In Java
As we already know, multithreading is the most important aspect of Java. Every Java program runs in a single thread called, ‘main’ thread. From within this main thread, multiple threads are spawned and each executes concurrently and each thread will have its own stack. A thread will undergo various stages during its life cycle. In this article, we’ll discuss what are all the stages a thread goes through, and which part of JVM is responsible for moving threads from one state to another state. The thread scheduler is part of JVM whose primary responsibility is to decide which thread should […]
Thread States In Java Read More »
