Does each thread have its own copy of JVM instance?

Answer:

No, by definitions threads in a Java application share the same memory space, therefore, they are executing within the same JVM. This way you can easily share objects across multiple threads, perform synchronization and such, all that is happening within the JVM.

One way to see it is that processes have their own memory space, while threads within an application share the same memory space.

Related Posts