Use NoBarrierStore/Load to suppress TSAN warning.
Currently |reduction_| in DynamicsCompressorHandler is accessed by two different threads without any protection. Adding NoBarrierStore/Load will suppress the warning, and also indicates that we have a benign data race in |reduction_|. See also: https://codereview.chromium.org/1461743002/ Bug: 755393 Change-Id: I3946772b55fdd6b6e7c806058306d0f81a855c69 Reviewed-on: https://chromium-review.googlesource.com/927713 Commit-Queue: Hongchan Choi <hongchan@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#551555}
Showing
Please register or sign in to comment