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

Issue 1460053003: SimpleCache: Fix race condition in simple_index_file_unittest (Closed)

Created:
5 years, 1 month ago by pasko
Modified:
5 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SimpleCache: Fix race condition in simple_index_file_unittest The MessageLoopHelper 'helper' is created on the main thread in this test, so to avoid a race condition move invocation of helper.CallbackCalled() from CacheThread to the main thread. BUG=313726 Committed: https://crrev.com/07477ffeefe3587f8d91b36d388e7fb73dc4d8da Cr-Commit-Position: refs/heads/master@{#362429}

Patch Set 1 #

Patch Set 2 : remove the suppression #

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

Messages

Total messages: 19 (7 generated)
pasko
gavinp: given how easy it is to fix this bug, it's been around for too ...
5 years, 1 month ago (2015-11-20 19:52:16 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460053003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460053003/20001
5 years, 1 month ago (2015-11-20 19:54:47 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-20 20:33:42 UTC) #7
Alexander Potapenko
lgtm LGTM
5 years, 1 month ago (2015-11-23 11:44:21 UTC) #8
pasko
gavinp: please take a look
5 years ago (2015-11-24 21:47:16 UTC) #9
pasko
I checked that the failing linux_chromium_tsan_rel_ng bot is not failing because of relaxed tsan_suppressions (the ...
5 years ago (2015-11-25 18:21:22 UTC) #10
pasko
gavinp: I hope you are well. Please take a look at this trivial fix. Yes, ...
5 years ago (2015-11-26 12:10:49 UTC) #11
pasko
gavinp: ping
5 years ago (2015-11-30 13:07:45 UTC) #12
gavinp
lgtm. cute.
5 years ago (2015-12-01 15:16:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460053003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460053003/20001
5 years ago (2015-12-01 15:18:50 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-01 16:32:00 UTC) #17
commit-bot: I haz the power
5 years ago (2015-12-01 16:32:44 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/07477ffeefe3587f8d91b36d388e7fb73dc4d8da
Cr-Commit-Position: refs/heads/master@{#362429}

Powered by Google App Engine
This is Rietveld 408576698