[ 
https://issues.apache.org/jira/browse/CXF-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lucas Pouzac updated CXF-5932:
------------------------------

    Attachment: contention_cxf_jaxrsutils.png

> Monitor contention at 
> org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(OperationResourceInfo,
>  MultivaluedMap, Message)
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-5932
>                 URL: https://issues.apache.org/jira/browse/CXF-5932
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>    Affects Versions: 3.0.1
>            Reporter: Lucas Pouzac
>            Priority: Critical
>              Labels: concurrency, performance
>         Attachments: contention_cxf_jaxrsutils.png
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to