Scott Sosna created CXF-8149:
--------------------------------

             Summary: Reduce synchronization in AbstractJAXBProvider 
                 Key: CXF-8149
                 URL: https://issues.apache.org/jira/browse/CXF-8149
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS
    Affects Versions: 3.3.4
            Reporter: Scott Sosna


My company discovered that there was excessive blocking occurring which was 
tracked down to AbstractJAXBProvider doing synchronizations when checking 
various collections.  Instead, using ConcurrentHashMaps and other techniques, 
those synchronizations are only necessary when the collection in fact needs 
modifications, i.e., the first time a specific type is used.  After that, 
synchronizations are no longer required and multiple concurrent calls don't 
start blocking each other.



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

Reply via email to