Project: Tomcat
Bug 51687 Improve JreMemoryLeakPreventionListener against leak caused by sun.java2d.Disposer
Reported: 2011-08-19 14:41:36 | Status: resolved fixed

The sun.java2d.Disposer class, when loaded, starts an endless daemon thread that can inherit the WebappClassLoader as its context loader. This will cause a leak when the webapp is unloaded. It would be useful if JreMemoryLeakPreventionListener could load this class to prevent the leak.

Files changed in fix:
java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java