[
https://issues.apache.org/jira/browse/CXF-8149?focusedWorklogId=390456&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-390456
]
ASF GitHub Bot logged work on CXF-8149:
---------------------------------------
Author: ASF GitHub Bot
Created on: 21/Feb/20 06:42
Start Date: 21/Feb/20 06:42
Worklog Time Spent: 10m
Work Description: amarkevich commented on pull request #597: CXF-8149
Reduce synchronization in AbstractJXBProvider
URL: https://github.com/apache/cxf/pull/597
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 390456)
Time Spent: 40m (was: 0.5h)
> 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
> Priority: Major
> 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)