java - will the Jvm load a class file twice? -
suppose have file called a.java, when compile it makes a.class assume have opened 2 command prompts , @ time i'm hitting command java in both commandprompt. jvm load class twice?
there no "the" jvm: starting 2 separate processes own heap, classloader, etc. class load twice, once in each jvm, separate other.
Comments
Post a Comment