Bug 62802 - JreMemoryLeakPreventionListener should still perform appContextProtection on JRE 8
Summary: JreMemoryLeakPreventionListener should still perform appContextProtection on ...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 8.5.23
Hardware: PC All
: P2 normal (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-05 00:56 UTC by Jonathan Horowitz
Modified: 2018-10-13 18:02 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Horowitz 2018-10-05 00:56:19 UTC
Using JDK 8u181 on Windows, a webapp utilizing the Batik library may eventually call com.sun.awt.AppContext.getAppContext(), which pins the ParallelWebappClassLoader in memory.
Comment 1 Mark Thomas 2018-10-12 18:37:05 UTC
Ah. Good point. I'll put that code back in. It will be disabled by default (as it was before it was removed).
Comment 2 Mark Thomas 2018-10-13 18:02:06 UTC
Thanks for the report. This has been fixed in 9.0.x for 9.0.13 onwards.