Application classloaders leaked by com.sun.el.parser.ELParser$LookaheadSuccess
Issue
- We're experiencing a metaspace leak across application redeployments. A heap dump shows classloaders persisted by references from com.sun.el.parser.ELParser$LookaheadSuccess static backtrace field:
Class Name | Ref. Objects | Shallow Heap | Ref. Shallow Heap | Retained Heap
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[17] class com.sun.el.parser.ELParser @ 0xb18aae88 | 3 | 16 | 264 | 2,448
'- jj_ls com.sun.el.parser.ELParser$LookaheadSuccess @ 0xb18aaf00 | 3 | 32 | 264 | 1,984
'- backtrace java.lang.Object[5] @ 0xb18aaf20 | 3 | 40 | 264 | 1,952
'- [4] java.lang.Object[5] @ 0xb18aaf48 | 3 | 40 | 264 | 1,464
'- [2] java.lang.Object[32] @ 0xb18ab390 | 3 | 144 | 264 | 144
'- [15] class org.primefaces.webapp.filter.FileUploadFilter @ 0xb00a0078 | 3 | 16 | 264 | 80
Environment
- JBoss Enterprise Application Platform (EAP) 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.