Commit 2bf4a236 authored by Maged Michael's avatar Maged Michael Committed by Facebook GitHub Bot

ConcurrentHashMap: Remove comment about potential bottleneck under heavy removal

Summary:
Remove comment about potential high contention under sustained frequent removal from CHM-s.

Recent changes to the hazard pointer library eliminated this problem:
- Asynchronous reclamation of tagged objects (including CHM objects) no longer needs to be done while holding the lock on the list of tagged objects.
- The list of tagged objects is now sharded and sharding can be easily increased if needed.

Reviewed By: yfeldblum

Differential Revision: D24318407

fbshipit-source-id: 3124e8d5651848a16084899a6f31d69cc235c702
parent 68c04406
......@@ -37,12 +37,6 @@ namespace folly {
* need erase(). If you don't know the size in advance or
* your workload needs erase(), this is the better choice.
*
* [Note on performance under frequent removal: Sustained frequent
* removal from this map may lead to high contention (on the hazptr
* domain list of tagged objects which include structures used in this
* map). Planned redesign of the reclamation algorithm for such
* objects will eliminate this potential bottleneck.]
*
* The interface is as close to std::unordered_map as possible, but there
* are a handful of changes:
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment