Memory Leak at PolicyEngineImpl
-------------------------------
Key: CXF-1429
URL: https://issues.apache.org/jira/browse/CXF-1429
Project: CXF
Issue Type: Bug
Components: WS-* Components
Affects Versions: 2.0.2
Reporter: Bharath Ganesh
Certain data structures in CXF PolicyEngineImpl were holding reference to
EndpointInfo, EndpointPolicy, BindingInfo etc. Clean up all the data structures
during application stop, that keep a reference to the EndpointInfo object or
which have EndpointInfo as the key.
Map of (EndpointInfo vs EndpointPolicy) maintained at PolicyEngineImpl. The
client and server EndpointInfo's get added to this map. So while the server
endpoint is stopped, we need to identify all the client EndpointInfos
pertaining to this Server EndpointInfo, and cleanup them.
See the overridden remove() method of endpointInfo map.
Attached a patch sources on CXF 2.0.2.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.