Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-1496

Memory leak with Mojarra and JSF2 resources

    Details

      Description

      Currently, the com.liferay.faces.bridge.application.ResourceImpl class keeps an instance of com.liferay.faces.bridge.container.PortletContainer as a private member variable for optimization. However, under certain circumstances (perhaps for caching), Mojarra will keep instances of ResourceImpl in a ConcurrentHashMap. This causes a leak with the PortletContainer instance. The fix would be to call BridgeContext.getCurrentInstance().getPortletContainer() instead.

        Attachments

          Activity

            People

            Assignee:
            neil.griffin Neil Griffin
            Reporter:
            neil.griffin Neil Griffin
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                liferay-faces-3.0.3-legacy-ga4
                liferay-faces-3.0.3-ga4
                liferay-faces-3.1.2-ga3