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/05/15 23:22:55 UTC

[jira] Resolved: (AXIS2-3802) JAXWS: Use SoftReferences instead of WeakReferences to cache JAXBContext and other related objects

     [ https://issues.apache.org/jira/browse/AXIS2-3802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-3802.
-----------------------------------

    Resolution: Fixed

Thanks David for the suggestion.

Committed 656844

> 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