Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13805

Reduce locking by reusing XML Input/Output Factories

    XMLWordPrintable

Details

    • Unknown
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: