Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3510

Application components classloader memory leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.6
    • 2.0.13, 2.1.7
    • General
    • None
    • WIndows Glassfish Embedded

    Description

      We've seen an application classloader memory leak due to the new class javax.faces.component._PropertyDescriptorHolder class introduced in version 2.1.6

      This class holds a reference to a Method of a component loaded by the application classloader. The memory leak shows up when the _PropertyDescriptorHolder is stored in the _ComponentAttributesMap class that is loaded by the system class loader.

      You should use a WeakReference instead of storing the direct reference to the Method

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--screenshot-1.jpg
          289 kB
          Ruben Martin Pozo
        2. MYFACES-3510-1.patch
          2 kB
          Leonardo Uribe
        3. MYFACES-3510-2.patch
          4 kB
          Leonardo Uribe

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              rmarpozo Ruben Martin Pozo
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: