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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/09/26 04:15:48 UTC

[jira] Resolved: (AXIS-2233) Allow cached WSDL files to be GC'ed

     [ http://issues.apache.org/jira/browse/AXIS-2233?page=all ]
     
Davanum Srinivas resolved AXIS-2233:
------------------------------------

    Resolution: Fixed

Applied patch.

thanks,
dims

> Allow cached WSDL files to be GC'ed
> -----------------------------------
>
>          Key: AXIS-2233
>          URL: http://issues.apache.org/jira/browse/AXIS-2233
>      Project: Apache Axis
>         Type: Improvement
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: David Blevins
>  Attachments: Service.java.patch
>
> This is a minor code change, but a big impact on client's used in a long running server or vm.  WSDL files are cached in a private static HashMap inside the o.a.a.client.Service class.  In this form they are never eligible for garbage collection.   This patch changes that map to be a WeakHashMap so they can get garbage collected.  The code already makes no assumption that the WSDL has been previously cached and will fetch things not in the cache, so this change is a nice and natural addition.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira