You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/02/18 10:21:00 UTC

[jira] [Work logged] (CXF-6738) Reduce contention on org.apache.cxf.binding.soap.SoapTransportFactory$SoapEndpointInfo

     [ https://issues.apache.org/jira/browse/CXF-6738?focusedWorklogId=388764&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-388764 ]

ASF GitHub Bot logged work on CXF-6738:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Feb/20 10:20
            Start Date: 18/Feb/20 10:20
    Worklog Time Spent: 10m 
      Work Description: shark300 commented on pull request #642: [CXF-6738] Add Micrometer metric support for JAX-WS
URL: https://github.com/apache/cxf/pull/642
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 388764)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Major
>             Fix For: 3.1.5, 3.2.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)