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

Reduce locking by reusing XML Input/Output Factories

    XMLWordPrintable

    Details

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

          Issue Links

            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: