Originally posted by Purushothaman Thambu:
Perm generation refers to the heap space where all the loades classes are stored. It's exclusively used to store the class definitions. [/URL]
Well, no, not exactly. It's also used to store interned
String objects -- String literals, and Strings returned by the intern() method -- and a few other little things. I believe (although I'm not positive) that in Java 5, the pooled wrapper objects used for autoboxing are stored there as well.