You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Roland Weber (JIRA)" <ji...@apache.org> on 2007/07/23 19:19:31 UTC
[jira] Closed: (HTTPCLIENT-653) connection wrapper prevents GC of
TSCCM
[ https://issues.apache.org/jira/browse/HTTPCLIENT-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roland Weber closed HTTPCLIENT-653.
-----------------------------------
Resolution: Fixed
Fix Version/s: 4.0 Alpha 2
Problem dissolved during refactoring for HTTPCLIENT-636.
The connection wrapper used to be a non-static nested class of the connection manager, but is no longer.
> connection wrapper prevents GC of TSCCM
> ---------------------------------------
>
> Key: HTTPCLIENT-653
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-653
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpConn
> Affects Versions: 4.0 Alpha 1
> Reporter: Roland Weber
> Assignee: Roland Weber
> Priority: Trivial
> Fix For: 4.0 Alpha 2
>
>
> Even if a connection is released back to the ThreadSafeClientConnManager, a hard reference to the connection wrapper will prevent GC of the TSCCM.
> Make sure the connection wrapper is properly detached on release. Then update TestTSCCMWithServer.testConnectionManagerGC() accordingly.
--
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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org