Use hazptr_local and hazptr_array
authorDave Watson <davejwatson@fb.com>
Mon, 27 Nov 2017 18:50:26 +0000 (10:50 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 27 Nov 2017 19:08:11 +0000 (11:08 -0800)
commit0fd994133fbaafa1e4b6c86f5c14a101f2086e8c
treee7338a905d3608f7500e4cca10296f5f797f8b48
parentee207f19892790e091082cc7c7ab8c5df0398061
Use hazptr_local and hazptr_array

Summary: Use newest hazptr hotness in concurrenthashmap.  Shaves ~10% off of the single-thread find performance.

Reviewed By: magedm

Differential Revision: D6259947

fbshipit-source-id: 7ecf99d38fdf8e311fca3313137e0fca5af3f165
folly/concurrency/detail/ConcurrentHashMap-detail.h