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

Issue 8343048: Disk Cache: Supress tsan warnings for BackendTrimInvalidEntry2 (Closed)

Created:
9 years, 1 month ago by rvargas (doing something else)
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Disk Cache: Supress tsan warnings for BackendTrimInvalidEntry2 BUG=101853 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107844

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M net/disk_cache/backend_unittest.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rvargas (doing something else)
http://codereview.chromium.org/8343048/diff/1/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (right): http://codereview.chromium.org/8343048/diff/1/net/disk_cache/backend_unittest.cc#newcode787 net/disk_cache/backend_unittest.cc:787: ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN(); I'm assuming that it is fine if the ...
9 years, 1 month ago (2011-10-28 03:03:06 UTC) #1
kcc2
http://codereview.chromium.org/8343048/diff/1/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (right): http://codereview.chromium.org/8343048/diff/1/net/disk_cache/backend_unittest.cc#newcode787 net/disk_cache/backend_unittest.cc:787: ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN(); If the test asserts and then exits -- ...
9 years, 1 month ago (2011-10-28 03:15:32 UTC) #2
Timur Iskhodzhanov
http://codereview.chromium.org/8343048/diff/1/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (right): http://codereview.chromium.org/8343048/diff/1/net/disk_cache/backend_unittest.cc#newcode787 net/disk_cache/backend_unittest.cc:787: ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN(); Assert indeed interrupts the test. On 2011/10/28 03:15:32, ...
9 years, 1 month ago (2011-10-28 12:14:02 UTC) #3
Timur Iskhodzhanov
Or if you just don't want to run the test you may use tools/valgrind/gtest_exclude/net_unittests.gtest-tsan.txt (see ...
9 years, 1 month ago (2011-10-28 12:21:52 UTC) #4
rvargas (doing something else)
Thanks a lot. I uploaded a new version.
9 years, 1 month ago (2011-10-28 19:27:40 UTC) #5
kcc2
9 years, 1 month ago (2011-10-28 19:33:26 UTC) #6
LGTM
But please add a comment describing why you do that.

Powered by Google App Engine
This is Rietveld 408576698