Uploaded image for project: 'Scout (Retired)'
  1. Scout (Retired)
  2. SCOUT-91

JAXBContext.newInstance is expensive and needs to be cached

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.2
    • Scout Implementation
    • None

    Description

      JAXBContext.newInstance is very expensive.

      The JAXBContext needs to be cached in a public static final variable after creation for later access. Since it is threadsafe by design, it should be possible to cache.

      Attachments

        Activity

          People

            tcunning Thomas Cunningham
            anil Anil Saldhana
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: