Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-560

In JAXBCoder, use a pair of ThreadLocals to cache Marshaller/Unmarshaller

Details

    Description

      Marshallers and Unmarshallers are created per-element. Instead, they can be created per-thread and stored within a ThreadLocal which creates a new instance on calls to initialValue(), which allows them to be reused for all elements encoded or decoded by the coder.

      Attachments

        Issue Links

          Activity

            People

              vectorijk Kai Jiang
              tgroh Thomas Groh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: