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

Creating portlet session attribute map when it is not needed causes performance problems on Weblogic

    Details

      Description

      DefineObjectsTag loads all portlet session attributes into a map and sets the map as a page context attribute in accordance with Portlet 2.0.

      However, on Weblogic where every session attribute value is serialized on access, this can be prohibitively expensive and is completely unnecessary when the page context attribute is never used in the portlet code.

      Rather than always load portlet session attributes into the map, performance can be improved if DefineObjectsTag instead lazy loads the portlet session attributes as the map is accessed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                minhchau.dang Minhchau Dang
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 16 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M4