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:37:40 UTC

[jira] [Created] (CXF-4326) Move the XPathFactory.newInstance from XPathUtils constructor to improve the performance a bit

Jim Ma created CXF-4326:
---------------------------

             Summary: Move 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

        

[jira] [Resolved] (CXF-4326) Remove the XPathFactory.newInstance from XPathUtils' constructor to improve the performance a bit

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-4326.
------------------------------

    Resolution: Fixed
    
> 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
>    Affects Versions: 2.4.7, 2.5.3, 2.6
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: 2.6.1, 2.5.4, 2.4.8, 2.3.11
>
>
> 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

        

[jira] [Updated] (CXF-4326) Remove the XPathFactory.newInstance from XPathUtils' constructor to improve the performance a bit

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-4326:
-----------------------------

    Fix Version/s: 2.3.11
    
> 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
>    Affects Versions: 2.4.7, 2.5.3, 2.6
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: 2.6.1, 2.5.4, 2.4.8, 2.3.11
>
>
> 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

        

[jira] [Updated] (CXF-4326) Remove the XPathFactory.newInstance from XPathUtils' constructor to improve the performance a bit

Posted by "Jim Ma (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Updated] (CXF-4326) Remove the XPathFactory.newInstance from XPathUtils' constructor to improve the performance a bit

Posted by "Jim Ma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ma updated CXF-4326:
------------------------

    Affects Version/s: 2.4.7
                       2.5.3
                       2.6
        Fix Version/s: 2.4.8
                       2.5.4
                       2.6.1
    
> 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
>    Affects Versions: 2.4.7, 2.5.3, 2.6
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: 2.6.1, 2.5.4, 2.4.8
>
>
> 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