axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3802) JAXWS: Use SoftReferences instead of WeakReferences to cache JAXBContext and other related objects
Date Thu, 15 May 2008 21:16:55 GMT
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message