Description
MediaTypeHeaderProvider.valueOf(String mType) ends up being called a lot with the same parameter values, as those are basically the contents of the @Produce annotations on resources. Each request ends up into the same invocation, which is cpu and memory intensive.
It might make sense to add a map in the MediaTypeHeaderProvider to store the result of the static valueOf method invocation.
Attachments
Issue Links
- relates to
-
CXF-6837 Add cache for MessageBodyReader/Writer
- Closed