title: Daemon Threads in java and its process space
body: <p>I have written a main application which creates two threads viz A and B. Thread A is user thread and thread B  is daemon. A finishes the job and hence the JVM exits but Thread B is still running. Since Threads A and B are created in the JVM space, and JVM has exited since all the user threads have completed execution, where Thread B execute ? In which process space does it execute? </p>