[ https://issues.apache.org/jira/browse/CMIS-948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller reassigned CMIS-948: ----------------------------------- Assignee: Florian Müller > WSConverter.convertCalendar is slow > ----------------------------------- > > Key: CMIS-948 > URL: https://issues.apache.org/jira/browse/CMIS-948 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-commons > Reporter: Florent Guillaume > Assignee: Florian Müller > Priority: Minor > Fix For: OpenCMIS 0.14.0 > > > {{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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)