Suppose If run a program , I am sure that JVM will create main thread to execute the program. But I would like that to know that internally how many threads JVM will create ?. I know that GC is daemon thread. So when it will create ?. Like GC , JVM will create any more threads ?
Please let me know how many threads( including daemon) JVM will create ? and how to find out the running threads in JVM.