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

Don't lock by default in org.apache.cxf.jaxrs.model.AbstractResourceInfo#getProxyMap

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.7, 3.4.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Would be good to synchronize only if the map should be created otherwise it creates a bottleneck on resources for no real reasons.

       

      A trivial option can be to test if properties are a concurrent hashmap and if so use concurrent map API (computeIfAbsent for example).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coheigea Colm O hEigeartaigh
                Reporter:
                romain.manni-bucau Romain Manni-Bucau
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: