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

            steven.gao Steven Gao (Inactive)
            shuyang.zhou Shuyang Zhou
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 51 weeks, 4 days ago

              Packages

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