hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Weber (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HTTPCLIENT-636) Revise internal data structures of ThreadSafeClientConnManager
Date Fri, 27 Jul 2007 15:53:18 GMT

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

Roland Weber closed HTTPCLIENT-636.
-----------------------------------

    Resolution: Fixed

Done. The connection pool, now a separate class, no longer keeps a hard reference to the connection
manager.
The pool keeps a weak reference to the manager to detect GC. In that case, the pool shuts
itself down.


> Revise internal data structures of ThreadSafeClientConnManager
> --------------------------------------------------------------
>
>                 Key: HTTPCLIENT-636
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-636
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpConn
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>             Fix For: 4.0 Alpha 2
>
>
> ThreadSafeClientConnManager internal data structures can be improved:
> - keep track of issued connections with weak references
> - use class derived from WeakReference instead of a lookup table for callbacks from ReferenceThread
>   (or drop ReferenceThread in favor of occasionally polling the issued connections for
leaks)

-- 
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


Mime
View raw message