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

Improve performance of com.liferay.faces.util.map.AbstractPropertyMap by reducing calls to getPropertyNames()

    Details

      Description

      The VisualVM profiler indicates that the RequestScopeMap.getPropertyNames() method is being called more than is necessary. This is probably because AbstractPropertyMap.contains(Object) is calling getPropertyNames() which can be inefficient for methods like RequestScopeMap.getPropertyNames() which in turn calls PortletRequest.getAttributeNames() (required to return a new java.util.Enumeration each time it is called).

        Attachments

          Activity

            People

            Assignee:
            kyle.stiemann Kyle Stiemann (Inactive)
            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
                bridge-impl-2.1.0
                bridge-impl-3.1.0
                bridge-impl-4.1.0