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

Issue 834043004: cc: Fix race in SurfaceLayer unittests. (Closed)

Created:
5 years, 11 months ago by sohanjg
Modified:
5 years, 1 month ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Fix race in SurfaceLayer unittests. This fixes data race in SurfaceLayerSwapPromise. Reported by TSAN. BUG=437454 Committed: https://crrev.com/6e8cb70336132348903ff193fb54973ea098839a Cr-Commit-Position: refs/heads/master@{#310573}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comment addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M cc/layers/surface_layer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
sohanjg
Do you think function level locks will be a good way to protect from data ...
5 years, 11 months ago (2015-01-06 14:26:43 UTC) #2
danakj
https://codereview.chromium.org/834043004/diff/1/cc/layers/surface_layer_unittest.cc File cc/layers/surface_layer_unittest.cc (right): https://codereview.chromium.org/834043004/diff/1/cc/layers/surface_layer_unittest.cc#newcode182 cc/layers/surface_layer_unittest.cc:182: base::AutoLock lock(lock_); This still means ChangeTree and SwapBuffersOnThread may ...
5 years, 11 months ago (2015-01-06 15:57:40 UTC) #3
sohanjg
Please take a look, thanks. https://codereview.chromium.org/834043004/diff/1/cc/layers/surface_layer_unittest.cc File cc/layers/surface_layer_unittest.cc (right): https://codereview.chromium.org/834043004/diff/1/cc/layers/surface_layer_unittest.cc#newcode182 cc/layers/surface_layer_unittest.cc:182: base::AutoLock lock(lock_); On 2015/01/06 ...
5 years, 11 months ago (2015-01-08 12:05:41 UTC) #4
danakj
On Jan 8, 2015 4:05 AM, <sohan.jyoti@samsung.com> wrote: > > Please take a look, thanks. ...
5 years, 11 months ago (2015-01-08 17:30:21 UTC) #5
danakj
LGTM
5 years, 11 months ago (2015-01-08 18:16:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/834043004/20001
5 years, 11 months ago (2015-01-08 19:16:42 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2015-01-08 20:01:57 UTC) #9
commit-bot: I haz the power
5 years, 11 months ago (2015-01-08 20:02:47 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6e8cb70336132348903ff193fb54973ea098839a
Cr-Commit-Position: refs/heads/master@{#310573}

Powered by Google App Engine
This is Rietveld 408576698