Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
WSConverter.convertCalendar appears heavily in some profiling traces.
WSConverter.convertCalendar uses DatatypeFactory.newInstance() every time but calling this is known to be quite slow under current JVMs because it does heavy classloading (http://stackoverflow.com/questions/7346508/datatypefactory-usage-in-creating-xmlgregoriancalendar-hits-performance-badly).
We should use one of the recommended solutions to avoid this.