cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas Pouzac (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5932) Monitor contention at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(OperationResourceInfo, MultivaluedMap, Message)
Date Wed, 06 Aug 2014 13:11:13 GMT

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

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

    Affects Version/s: 3.0.0-milestone2
                       3.0.0

> 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
>            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)

Mime
View raw message