In the Java Virtual Machine, the permanent generation (or permgen) is used for class definitions and associated metadata.