~smspillaz/folly/folly-git-master

Viewing all changes in revision 6397.

  • Committer: Facebook Github Bot
  • Author(s): Maged Michael
  • Date: 2018-11-19 02:00:32 UTC
  • Revision ID: git-v1:6100907a970a187d34cce5d195f0596e7975b25e
ConcurrentHashMap: Use hazptr_obj_batch.

Summary: Use hazptr_batch and tagged objects for buckets and nodes. After this diff, higher-level users no longer need to call hazptr_cleanup. CHM destructor guarantees the destruction of all key and value objects that were in this instance of CHM.

Reviewed By: djwatson

Differential Revision: D10150474

fbshipit-source-id: 99530971d157ce4ca0bb0a983b3f7eb40666885e

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: