Reputation: 740
We know that PermGen or "permanent generation" is where meta-data describing user classes (not the Java's internal classes) and static references stored. But where exactly are Java's internal classes (i.e. the classes present in rt, resources jar etc) metadata stored exactly?
I am asking this question in reference to Java versions before 1.8
Upvotes: 2
Views: 1685
Reputation: 740
After all the comments above and researching the java docs and all, it seems like there is no difference between a "user class" and "internal class" in terms of how there metadata is stored on permgen. All these meta-data go to Permgen, when that class loads and are cleared once those are unreachable.
Upvotes: 1