[
https://issues.apache.org/jira/browse/AXIS2-3519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rich Scheuerle resolved AXIS2-3519.
-----------------------------------
Resolution: Fixed
> JAX-WS: Performance Improvement to JAXB Unmarshalling
> -----------------------------------------------------
>
> Key: AXIS2-3519
> URL: https://issues.apache.org/jira/browse/AXIS2-3519
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Reporter: Rich Scheuerle
> Assignee: Rich Scheuerle
>
> History:
> According to the Sun specification, JAXB Unmarshallers for a specific
> JAXBContext are not thread safe, but they can be pooled and reused.
> It is expensive to create a JAXB Unmarshaller. Also JAXB Unmarshaller
> objects can have a big footprint.
> Solution:
> The JAXBUtils code is the one-stop provider of JAXB Unmarshallers for the
> engine. This code will be improved to support a pooled list of Unmarshallers
> for each JAXBContext. The pool will be pruned if it gets too big. The pool
> is backed by a ConcurrentHashMap. (ConcurrentHashMap is a new class in Java
> 5,
> and the JAXWS module requires Java 5).
> Kudos to David Strite of IBM for suggesting this fix and providing me a patch
> (via private email).
> I just completed testing. I will be committing this change (one file)
> shortly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]