Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1865

Performance improvement for PortletPreferences

Details

    Description

      The performance of PortletPreferences has been improved. Specifically, PortletPreferencesLocalServiceImpl.getPreferences(), always always returns a clone of PortletPreferencesImpl. This is needed because multiple users may try to modify the preference. However, in most situations, users are only reading from PortletPreferencesImpl. If the user is only reading the preference, the clone protection is not necessary and is an unnecessary memory overhead. This updates allows PortletPreferencesImpl to lazily create it's clone when the preference is first modified.

      Attachments

        Issue Links

          Activity

            People

              michael.saechang Michael Saechang
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP4 (5.2.8)