[jboss-jira] [JBoss JIRA] (AS7-4602) Remaining Weld references after WAR undeployement

Tomas Remes (JIRA) jira-events at lists.jboss.org
Thu Apr 26 05:49:18 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12687905#comment-12687905 ] 

Tomas Remes commented on AS7-4602:
----------------------------------

I also tried to reproduce it on GlassFish 3.1.2 and filled http://java.net/jira/browse/JAVASERVERFACES-2398
                
> 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

        


More information about the jboss-jira mailing list