Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP5 (5.1.8), 5.2 EE SP4 (5.2.8) , 6.0 EE (6.0.10)
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
- is related to
-
LPS-13280 AnnotationChainableMethodAdvice can cause high memory usage when service methods be called on background threads.
- Closed