[weld-issues] [JBoss JIRA] Resolved: (WELD-453) Disable use of Javassist ProxyFactory cache due to leaks

David Allen (JIRA) jira-events at lists.jboss.org
Tue Apr 20 14:11:49 EDT 2010


     [ https://jira.jboss.org/jira/browse/WELD-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Allen resolved WELD-453.
------------------------------

    Resolution: Done


This is no longer an issue since the new proxies do not have this problem.

> Disable use of Javassist ProxyFactory cache due to leaks
> --------------------------------------------------------
>
>                 Key: WELD-453
>                 URL: https://jira.jboss.org/jira/browse/WELD-453
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.0.1.Final
>            Reporter: David Allen
>            Assignee: David Allen
>             Fix For: 1.0.2.CR1
>
>
> The ProxyFactory proxy class cache is a broken concept that cannot work in Java unless a global AS service is established and all proxies are created through the service.  But that would degrade performance as well.
> Since Weld stores the proxy class created for each bean and decorator already, this cache is not actually used.  To eliminate the classloader leaks and the heap memory leaks from this cache, it should be disabled every time before a new proxy  class is created.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list