[weld-issues] [JBoss JIRA] (WELD-1114) Remaining Weld references after WAR undeployement

Tomas Remes (JIRA) jira-events at lists.jboss.org
Tue Apr 24 04:18:17 EDT 2012


Tomas Remes created WELD-1114:
---------------------------------

             Summary: Remaining Weld references after WAR undeployement
                 Key: WELD-1114
                 URL: https://issues.jboss.org/browse/WELD-1114
             Project: Weld
          Issue Type: Enhancement
          Components: Bootstrap and Metamodel API
    Affects Versions: 1.1.7.Final
         Environment: JBoss AS 7.1.1.Final, JProfiler
            Reporter: Tomas Remes
         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

        


More information about the weld-issues mailing list