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

Issue 23986002: Fix TSan issues for data_fetcher_shared_memory_base_unittest.cc. (Closed)

Created:
7 years, 3 months ago by timvolodine
Modified:
7 years, 3 months ago
Reviewers:
bulach
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix TSan issues for data_fetcher_shared_memory_base_unittest.cc. This patch moves the test for valid handle to a more appropriate place. Currently the expectation itself in the test can cause a race condition because it implicitly looks up a shared mem pointer from a different thread. BUG=284959 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221444

Patch Set 1 #

Patch Set 2 : rebased #

Patch Set 3 : hmm rebased once more #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M content/browser/device_orientation/data_fetcher_shared_memory_base_unittest.cc View 3 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
timvolodine
sorry one more fix this time to data fetcher unittests to make TSan happy (hopefully)
7 years, 3 months ago (2013-09-05 15:26:15 UTC) #1
bulach
lgtm, thanks!
7 years, 3 months ago (2013-09-05 15:27:51 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timvolodine@chromium.org/23986002/6001
7 years, 3 months ago (2013-09-05 15:44:33 UTC) #3
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 15:53:13 UTC) #4
Message was sent while issue was closed.
Change committed as 221444

Powered by Google App Engine
This is Rietveld 408576698