diff options
author | Jason Evans <jasone@canonware.com> | 2017-05-03 04:45:46 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2017-05-03 15:52:33 (GMT) |
commit | 0798fe6e7056a2eb571dde06927e87635dd2e74c (patch) | |
tree | f3db638ec6be05581380d81cb4776d350db85190 /INSTALL | |
parent | 344dd342dddf341f2db47c0a37f8b2aadccfdce7 (diff) | |
download | jemalloc-0798fe6e7056a2eb571dde06927e87635dd2e74c.zip jemalloc-0798fe6e7056a2eb571dde06927e87635dd2e74c.tar.gz jemalloc-0798fe6e7056a2eb571dde06927e87635dd2e74c.tar.bz2 |
Fix rtree_leaf_elm_szind_slab_update().
Re-read the leaf element when atomic CAS fails due to a race with
another thread that has locked the leaf element, since
atomic_compare_exchange_strong_p() overwrites the expected value with
the actual value on failure. This regression was introduced by
0ee0e0c155a05d0d028a9972ad86b9eaac4ccabd (Implement compact rtree leaf
element representation.).
This resolves #798.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions