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

David Allen (JIRA) jira-events at lists.jboss.org
Thu Feb 25 05:52:10 EST 2010


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