3 ms·
if all the classes in the classloader are no longer referenced, and there are no references to the classloader itself, then they will all be GCed (but often the
by michaelneale 18y ago
if all the classes in the classloader are no longer referenced, and there are no references to the classloader itself, then they will all be GCed (but often there is a ref to the classloader that causes the PermGen issue).