JAXWS: Use SoftReferences instead of WeakReferences to cache JAXBContext and
other related objects
--------------------------------------------------------------------------------------------------
Key: AXIS2-3802
URL: https://issues.apache.org/jira/browse/AXIS2-3802
Project: Axis 2.0 (Axis2)
Issue Type: Improvement
Components: jaxws
Reporter: Rich Scheuerle
Assignee: Rich Scheuerle
JAXBContext and other related objects (Marshallers, Unmarshallers) are
referenced via WeakReferences.
When garbage collection occurs, these objects are released.
For performance reasons, these WeakReferences should be changed to
SoftReferences.
The rationale is that these objects are expensive to recreate, so making them
SoftReferences will ensure that they are only reclaimed in low memory
situations.
David Strite (IBM Performance team) is suggesting this change based on his
testing of the Axis2 code.
--
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]