Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Issue 2256493002: Suppress TSAN Race in TaskSchedulerWorkerPoolCheckTlsReuse (Closed)

Created:
4 years, 4 months ago by robliao
Modified:
4 years, 4 months ago
Reviewers:
tommycli
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Suppress TSAN Race in TaskSchedulerWorkerPoolCheckTlsReuse The race condition is expected as we're racing the thread reclaim logic. ThreadLocalStorage happens to not synchronize anything at the moment. Adding a lock to synchronize usage of g_tls_destructors won't actually fix the inherent race condition. In production, it's up the owner to make sure that any references have cleaned up before releasing the TLS slot. Given that ThreadLocalStorage will be getting some locks in the future, so I expect to be able to remove the suppression once that goes through. BUG=638378 Committed: https://crrev.com/ad1893a4eeeb1775709005ad7df0081560fa27d3 Cr-Commit-Position: refs/heads/master@{#412362}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M build/sanitizers/tsan_suppressions.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
robliao
4 years, 4 months ago (2016-08-16 21:53:22 UTC) #3
tommycli
lgtm thanks!
4 years, 4 months ago (2016-08-16 22:14:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2256493002/1
4 years, 4 months ago (2016-08-16 22:20:48 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-16 22:35:14 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 22:37:45 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ad1893a4eeeb1775709005ad7df0081560fa27d3
Cr-Commit-Position: refs/heads/master@{#412362}

Powered by Google App Engine
This is Rietveld 408576698