Add thread caching of hazard pointers. Benchmarks. Minor fixes, optimizations, and...
authorMaged Michael <magedmichael@fb.com>
Thu, 15 Jun 2017 17:43:26 +0000 (10:43 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 15 Jun 2017 17:50:48 +0000 (10:50 -0700)
commit1d83c51f9df5c66b3a61048efbbe4ab3d97cf959
tree99fb4ec03ce520fd64b750083c92ede672d27724
parent4ecd9abf7441f0fe7a1c78cf170ce8ba7fb5d54d
Add thread caching of hazard pointers. Benchmarks. Minor fixes, optimizations, and refactoring.

Summary:
Added support for thread caching of hazard pointers.
Added thread caching benchmarks.
Removed function call from hazptr_domain constexpr constructor.
Optimizations of memory order and code refactoring.

Reviewed By: davidtgoldblatt

Differential Revision: D5249070

fbshipit-source-id: 487fb23abccde228c3c726de4ac8e9f07bfa9498
folly/experimental/hazptr/bench/HazptrBench-Amb-NoTc.cpp [new file with mode: 0644]
folly/experimental/hazptr/bench/HazptrBench-Amb-Tc.cpp [new file with mode: 0644]
folly/experimental/hazptr/bench/HazptrBench-Amb.cpp [deleted file]
folly/experimental/hazptr/bench/HazptrBench-NoAmb-NoTc.cpp [new file with mode: 0644]
folly/experimental/hazptr/bench/HazptrBench-NoAmb-Tc.cpp [new file with mode: 0644]
folly/experimental/hazptr/bench/HazptrBench-NoAmb.cpp [deleted file]
folly/experimental/hazptr/bench/HazptrBench.h
folly/experimental/hazptr/example/SWMRList.h
folly/experimental/hazptr/hazptr-impl.h