Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-55561

PortletAppImpl#addPorlet() uses UniqueList which results in a performance issue

    Details

      Description

      The problem is that method com.liferay.portal.model.impl.PortletAppImpl#addPorlet() is adding to a com.liferay.portal.kernel.util.UniqueList which results in O(N) time complexity for every call.

      LPS-48870 replaces as occurences of UniqueList to java.util.LinkedHashSet across the portal - which as a consequence - lowers the complexity to O(1).

      ... As LPS-48870 is a story ticket, a new LPS needs to be opened to backport the pertinent part of it to 6.2.x.

      Therefore I am opening this LPS.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                adam.nagy Ádám T. Nagy (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 11 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE