You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2014/08/06 20:22:14 UTC

[jira] [Resolved] (CXF-5932) Monitor contention at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(OperationResourceInfo, MultivaluedMap, Message)

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

Sergey Beryozkin resolved CXF-5932.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.0
                   3.0.2
         Assignee: Sergey Beryozkin

I've moved the method properties checks to OperationResourceInfo
thanks

> 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.0-milestone2, 3.0.0, 3.0.1
>            Reporter: Lucas Pouzac
>            Assignee: Sergey Beryozkin
>            Priority: Critical
>              Labels: concurrency, performance
>             Fix For: 3.0.2, 3.1.0
>
>         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)