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

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.7, 3.4.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: