Project: mule
Issue MULE-7650: DynamicClassLoader leaking classloaders
Apparently DynamicClassLoader is holding a strong reference to MuleApplicationClassLoader when it should not. This is the GC root path for the leaked MuleApplicationClassLoader instance. {code} org.mule.module.launcher.MuleApplicationClassLoader parent of org.mule.mvel2.optimizers.dynamic.DynamicClassLoader classLoader of org.mule.mvel2.optimizers.dynamic.DynamicOptimizer [603] of java.lang.Object[5120] elementData of java.util.Vector classes of org.mule.module.reboot.MuleContainerSystemClassLoader contextClassLoader of java.lang.Thread [Stack Local, Thread] "Mule.app.deployer.monitor.1.thread.1" native ID: 0x6403 {code} To reproduce deploy any mule app, then undeploy it and check that there is a leaked MuleApplicationClassLoader instance.
Story points: 8