You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2008/02/15 19:38:07 UTC
[jira] Created: (AXIS2-3519) JAX-WS: Performance Improvement to
JAXB Unmarshalling
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-3519) JAX-WS: Performance Improvement to
JAXB Unmarshalling
Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
[ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org