Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8149

Reduce synchronization in AbstractJAXBProvider

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.4
    • Fix Version/s: 3.3.6, 3.4.0
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              buhhunyx Alexey Markevich
              Reporter:
              scsosna999 Scott Sosna
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m