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

[jira] [Updated] (CXF-8149) Reduce synchronization in AbstractJAXBProvider

     [ https://issues.apache.org/jira/browse/CXF-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh updated CXF-8149:
-------------------------------------
    Fix Version/s: 3.3.6
                   3.4.0

> 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
>            Assignee: Alexey Markevich
>            Priority: Major
>             Fix For: 3.4.0, 3.3.6
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)