Reputation: 30058
Does every execution of java command start a separate JVM?
Upvotes: 6
Views: 513
Reputation: 6711
Yes, you get a separate VM.
Some class resources can be shared (class data sharing). This is by default enabled, e.g. it's automatically used when possible.
Upvotes: 2