You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Lucas Pouzac (JIRA)" <ji...@apache.org> on 2014/08/06 15:09:12 UTC
[jira] [Created] (CXF-5932) Monitor contention at
org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(OperationResourceInfo,
MultivaluedMap, Message)
Lucas Pouzac created CXF-5932:
---------------------------------
Summary: 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
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)