hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-903) Use ConcurrentHashMap instead of HashMap wherever thread-safe access is needed
Date Sun, 10 Jan 2010 14:39:54 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798490#action_12798490
] 

Sebb commented on HTTPCLIENT-903:
---------------------------------

Initial fxes:

URL: http://svn.apache.org/viewvc?rev=897641&view=rev
Log:
HTTPCLIENT-903 Use ConcurrentHashMap instead of [Linked]HashMap for thread-safety

Modified:
   httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthSchemeRegistry.java
   httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/params/ConnPerRouteBean.java
   httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java

> Use ConcurrentHashMap instead of HashMap wherever thread-safe access is needed
> ------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-903
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-903
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>            Reporter: Sebb
>
> Consider using ConcurrentHashMap instead of HashMap for any Maps that are used by multiple
threads.
> For example SchemeRegistry and AuthSchemeRegistry.

-- 
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message