Affects Version/s: 6.2.X EE, 7.0.X, Master
After portlet is undeployed its context class loader is not garbage collected.
- Start a 6.2 instance
- Start watching it with VisualVM
- Redeploy a portlet several times
Easiest way to observe the issue is the number of loaded classes. It's increasing wi the same amount with every redeploy and the classes are never unloaded.
Classes never unloaded.
Classes are unloaded.