Does every execution of java command start a separate JVM?
Does every execution of java command start a separate JVM开发者_JAVA技巧?
Yes, it does start a separate JVM.
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.
精彩评论