]> granicus.if.org Git - gc/commit
Revert 'Workaround TSan false positive about clear_hdr_marks/realloc race'
authorIvan Maidanski <ivmai@mail.ru>
Fri, 9 Feb 2018 15:40:20 +0000 (18:40 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 9 Feb 2018 15:40:20 +0000 (18:40 +0300)
commit95c4f56183ec9be404857c575971ccfd972f2194
treeb62ea4af760e81fba44cee7fc33ee124894b2c36
parent8a70c2d825c444de85171c767df75f05ba555691
Revert 'Workaround TSan false positive about clear_hdr_marks/realloc race'

This reverts commit 20468dd131d82be7422aea3c7383ec9201452fce.

Because it is not a false positive.  And we are lying to the compiler
about the value not changing asynchronously, which is never good.
The proper solution could be use of atomic accesses (even unordered)
on the size field.
mallocx.c