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

Reduce locking by reusing XML Input/Output Factories

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.3
    • Fix Version/s: 8.4-rc-1
    • Component/s: Filter, XML
    • Labels:
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: