]> granicus.if.org Git - gc/commit
Eliminate TSan warning about non-atomic read in store_back_pointer
authorIvan Maidanski <ivmai@mail.ru>
Mon, 12 Mar 2018 22:23:49 +0000 (01:23 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 13 Mar 2018 06:41:53 +0000 (09:41 +0300)
commitcc6b49c09c5ae4a38808e90c9fabaf29753c2329
treef05ec11a01bd4c98bc697fbe3ea3e2f0d3ef3361
parent9f377e845b112aed14e9a3c28e52b07b84599e49
Eliminate TSan warning about non-atomic read in store_back_pointer
(fix of commit 701858e)

* include/private/dbg_mlc.h [PARALLEL_MARK && KEEP_BACK_PTRS]
(GC_HAS_DEBUG_INFO): Use AO_load to access the word pointed by p; add
comment.
include/private/dbg_mlc.h