Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-453

Disable use of Javassist ProxyFactory cache due to leaks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.0.Beta1
    • 1.0.1.Final
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            drallendc@gmail.com David Allen (Inactive)
            drallendc@gmail.com David Allen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: