accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [accumulo] belugabehr opened a new pull request #1357: Use ConcurrentHashMap instead of synchronized blocks
Date Wed, 11 Sep 2019 22:44:07 GMT
belugabehr opened a new pull request #1357: Use ConcurrentHashMap instead of synchronized blocks
URL: https://github.com/apache/accumulo/pull/1357
 
 
   May endure a bit more overhead since `ConcurrentHashMap` a lock is obtained for every insertion/deletion
(v.s. one lock for the entire operation) but will allow for greater concurrency since two
threads could lock just sub-sections of the Map at one time.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message