Romain Manni-Bucau created CXF-8290:
---------------------------------------

             Summary: Don't lock by default in 
org.apache.cxf.jaxrs.model.AbstractResourceInfo#getProxyMap
                 Key: CXF-8290
                 URL: https://issues.apache.org/jira/browse/CXF-8290
             Project: CXF
          Issue Type: Task
            Reporter: Romain Manni-Bucau


Would be good to synchronize only if the map should be created otherwise it 
creates a bottleneck on resources for no real reasons.

 

A trivial option can be to test if properties are a concurrent hashmap and if 
so use concurrent map API (computeIfAbsent for example).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to