You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jim Ma (JIRA)" <ji...@apache.org> on 2012/05/21 08:45:40 UTC
[jira] [Updated] (CXF-4326) Remove the XPathFactory.newInstance
from XPathUtils' constructor to improve the performance a bit
[ https://issues.apache.org/jira/browse/CXF-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Ma updated CXF-4326:
------------------------
Summary: Remove the XPathFactory.newInstance from XPathUtils' constructor to improve the performance a bit (was: Move the XPathFactory.newInstance from XPathUtils constructor to improve the performance a bit)
> Remove the XPathFactory.newInstance from XPathUtils' constructor to improve the performance a bit
> -------------------------------------------------------------------------------------------------
>
> Key: CXF-4326
> URL: https://issues.apache.org/jira/browse/CXF-4326
> Project: CXF
> Issue Type: Improvement
> Reporter: Jim Ma
> Assignee: Jim Ma
>
> XPathFactoryFinder looks up the factory for each XPathUtil construction, this is duplicate and can be improved for performance.
> at javax.xml.xpath.XPathFactoryFinder._newFactory(XPathFactoryFinder.java:222)
> at javax.xml.xpath.XPathFactoryFinder.newFactory(XPathFactoryFinder.java:143)
> at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:185)
> at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:99)
> at org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:37)
> at org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:41)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira