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

Disable use of Javassist ProxyFactory cache due to leaks

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.1.Final
    • Fix Version/s: 1.1.0.Beta1
    • Component/s: None
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dallen6 David Allen
                  Reporter:
                  dallen6 David Allen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: