[ 
https://issues.apache.org/jira/browse/GEODE-6580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808903#comment-16808903
 ] 

ASF subversion and git services commented on GEODE-6580:
--------------------------------------------------------

Commit 7658cd27fc654f5a27e2fa65f8b4200f3185c466 in geode's branch 
refs/heads/develop from Helena A. Bales
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7658cd2 ]

GEODE-6580: use ConcurrentHashMap for host names

Use a ConcurrentHashMap instead of a HashMap accessed in synchronized
blocks to store host names in SocketCreator. This reduces lock
contention for getting host names by reducing the amount of time spent
holding the lock.


> Performance Improvement: in SocketCreator use concurrent hash map
> -----------------------------------------------------------------
>
>                 Key: GEODE-6580
>                 URL: https://issues.apache.org/jira/browse/GEODE-6580
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Helena Bales
>            Assignee: Helena Bales
>            Priority: Major
>              Labels: performance-benchmark
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In SocketCreator, use ConcurrentHashMap instead of synchronizing on HashMap 
> in order to reduce contention for locks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to