You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (JIRA)" <ji...@apache.org> on 2016/01/27 13:56:39 UTC
[jira] [Assigned] (CXF-6738) Reduce contention on
org.apache.cxf.binding.soap.SoapTransportFactory$SoapEndpointInfo
[ https://issues.apache.org/jira/browse/CXF-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessio Soldano reassigned CXF-6738:
------------------------------------
Assignee: Alessio Soldano
> Reduce contention on org.apache.cxf.binding.soap.SoapTransportFactory$SoapEndpointInfo
> --------------------------------------------------------------------------------------
>
> Key: CXF-6738
> URL: https://issues.apache.org/jira/browse/CXF-6738
> Project: CXF
> Issue Type: Improvement
> Components: JAX-WS Runtime
> Reporter: Alessio Soldano
> Assignee: Alessio Soldano
> Fix For: 3.1.5, 3.2.0
>
>
> By profiling some benchmark application, org.apache.cxf.binding.soap.SoapTransportFactory$SoapEndpointInfo has been found in the contention hotspots. That's because of the multiple synchronized blocks in org.apache.cxf.ws.policy.PolicyEngineImpl, which seem to be there basically for lazily getting the effective policy once the endpoint is fully initialized.
> I propose to replace those synchronized blocks with (properly implemented) double-checked locking idiom so that no locking actually happens after endpoints have been initialized.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)