I understand that PermGen (in a sense) contains class code in memory. Often we have many jar files referenced by our classpath. When the jar file is included in the class path (say, in the tomcat lib directory), are all the classes of all these jars loaded automatically in PermGen?
In a similar question, when a jar file class is used, PermGen loads all the classes in that jar file, or only the class that is used (and then loads the rest of the class files when necessary)
source
share