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

Monitor contention at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(OperationResourceInfo, MultivaluedMap, Message)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-milestone2, 3.0, 3.0.1
    • Fix Version/s: 3.0.2, 3.1
    • Component/s: JAX-RS
    • Estimated Complexity:
      Novice

      Description

      JAXRSUtils.processParameters() indirectly calls MethodParameter.getParameterAnnotations(), which calls into JRE lib method causing monitor contention. See screen shot

      Fix by caching values returned by Method.getParameterAnnotations() in a static ConcurrentMap

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              lpouzac Lucas Pouzac
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: