[
https://issues.jboss.org/browse/AS7-4602?page=com.atlassian.jira.plugin.s...
]
Stuart Douglas commented on AS7-4602:
-------------------------------------
That Jprofiler snapshot shows a JSF issue, rather than a Weld one.
com.sun.faces.config.InitFacesConfig is leaking through a thread local (it registers
itself with the thread local in its constructor), this indirectly holds onto the entire
deployment unit, including all child services.
Remaining Weld references after WAR undeployement
-------------------------------------------------
Key: AS7-4602
URL:
https://issues.jboss.org/browse/AS7-4602
Project: Application Server 7
Issue Type: Bug
Components: CDI / Weld
Environment: JBoss AS 7.1.1.Final, JProfiler
Reporter: Tomas Remes
Assignee: Stuart Douglas
Attachments: weld-deployment-test.jps
I am not sure that this can be considered as issue, but when you run JBoss AS in
JProfiler and try to deploy and undeploy simple Weld Web application (for example
numberguess), you can find some referenced Weld classes in JProfiler even after performing
GC. For example WeldBootstrap class, which has incoming references in following order:
{noformat}
... -> org.jboss.msc.service.ServiceControllerImpl ->
org.jboss.msc.value.ImmediateValue -> org.jboss.as.weld.service.WeldService ->
org.jboss.as.weld.WeldContainer -> org.jboss.weld.bootstrap.WeldBootstrap
{noformat}
JProfiler snapshot is in attachement. In JProfiler you can filter
org.jboss.weld.bootstrap classes and by right clicking you can show selection in Heap
Walker, where you can also find references graph or tree.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira