Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1084

Reduce locking by reusing XML Input/Output Factories

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 8.4-rc-1
    • 8.3
    • Filter, XML
    • N/A
    • N/A

    Description

      Creating an XMLInputFactory instance requires to load classes and resources from the classloader which is not super fast but more importantly lock everyone else from using the classloder.

      XMLInputFactory Javadoc does not say anything but in practice implementation are making sure to have thread safe factories.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: