Class garbage collection is the process of getting rid of class information in the JVM. This happens if a class has been unloaded and no java.lang.ClassLoader or piece of code references the class or its methods anymore.
java.lang.ClassLoader