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

Improved performance of AnnotationChainableMethodAdvice

Details

    Description

      AnnotationChainableMethodAdvice has a ThreadLocal cache for MethodTargetClassKey which is cleared by ThreadLocalFilter for worker threads and by Serial/ParallelDestination for MessageBus threads. If the thread is a background thread instead of a worker thread, the cache is never cleared. As a result, a background process could be long enough, and the cache could grow large enough to cause the system to run out of memory. To address this issue, background threads can no longer use the cache.

      Attachments

        Issue Links

          Activity

            People

              samuel.kong Samuel Kong
              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 SP6 (5.1.9)
                  5.2 EE SP5 (5.2.9)
                  6.0 EE SP1 (6.0.11)