Yury Molchan created CXF-9110:
---------------------------------

             Summary: Memory leak in DelayedCleanerImpl.queue when 
LoggingFeature is enabled
                 Key: CXF-9110
                 URL: https://issues.apache.org/jira/browse/CXF-9110
             Project: CXF
          Issue Type: Bug
          Components: Core, logging
    Affects Versions: 4.0.6, 3.6.5, 4.1.0
            Reporter: Yury Molchan


After migration from 3.6.4 to 3.6.5 (4.1.0) the memory leak appears due the 
DelayedCachedOutputStreamCleaner does not remove Streams from the 
DelayedCleanerImpl.queue.

It happened after CXF-7396 because of the inequality between 
BufferedOutputStream and LoggingOutputStream instances in [the 
equals()|[https://github.com/apache/cxf/blob/84a53f9c81fcbb87e0286c9e6df75853c09cd93b/core/src/main/java/org/apache/cxf/io/DelayedCachedOutputStreamCleaner.java#L170]]
 method.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to