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

Cache BeansWrapper inside FreeMarkerManager to avoid the slow FreeMarker synchronized WeakHashMap cache in _BeansAPI

    Details

      Description

      FreeMarker's synchronized WeakHashMap cache creates a global bottleneck.
      In the attached thread dump file, search for "- waiting to lock <0x000000076dba9538> (a java.util.WeakHashMap)"

        Attachments

          Activity

            People

            Assignee:
            steven.gao Steven Gao (Inactive)
            Reporter:
            shuyang.zhou Shuyang Zhou
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 46 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP FP9
                7.0.0 DXP SP2
                7.0.3 CE GA4
                7.1.X
                Master