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

Reduce synchronization in AbstractJAXBProvider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.4
    • 3.3.6, 3.4.0
    • JAX-RS
    • None
    • 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

            buhhunyx Alexey Markevich
            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