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)