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

Issue 403803004: base: Enable lock dchecks with dchecks_always_on (Closed)

Created:
6 years, 5 months ago by boliu
Modified:
6 years, 5 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

base: Enable lock dchecks with dchecks_always_on Enable DCHECKs in Lock and ConditionVariable when compiled with dchecks_always_on. Note the correctness of DCHECKs relies on DCHECKs enabled in both Lock and ConditionVariable. This CL keeps the condition to enable DCHECKs in ConditionVariable the same as Lock, to avoid any issues here. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284534

Patch Set 1 #

Patch Set 2 : remove new dchecks #

Patch Set 3 : add back one #

Patch Set 4 : brackets #

Patch Set 5 : fix condition variable too #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -14 lines) Patch
M base/synchronization/condition_variable.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M base/synchronization/condition_variable_posix.cc View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M base/synchronization/condition_variable_win.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M base/synchronization/lock.h View 4 4 chunks +5 lines, -4 lines 1 comment Download
M base/synchronization/lock.cc View 1 2 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
boliu
ptal, thanks!
6 years, 5 months ago (2014-07-21 16:33:33 UTC) #1
willchan no longer on Chromium
The change LGTM, although the changelist description confuses me. Can you point out what internal ...
6 years, 5 months ago (2014-07-21 18:13:27 UTC) #2
boliu
Updated the CL description. Hope it's clearer? https://codereview.chromium.org/403803004/diff/80001/base/synchronization/lock.h File base/synchronization/lock.h (right): https://codereview.chromium.org/403803004/diff/80001/base/synchronization/lock.h#newcode65 base/synchronization/lock.h:65: friend class ...
6 years, 5 months ago (2014-07-21 18:23:11 UTC) #3
willchan no longer on Chromium
OIC. OK, since you're not fixing it yet, can you clarify in the CL description ...
6 years, 5 months ago (2014-07-21 18:51:43 UTC) #4
willchan no longer on Chromium
And yeah, LGTM, so feel free to commit. Cheers.
6 years, 5 months ago (2014-07-21 18:51:53 UTC) #5
boliu
On 2014/07/21 18:51:43, willchan wrote: > OIC. OK, since you're not fixing it yet, can ...
6 years, 5 months ago (2014-07-21 18:55:52 UTC) #6
willchan no longer on Chromium
On 2014/07/21 18:55:52, boliu wrote: > On 2014/07/21 18:51:43, willchan wrote: > > OIC. OK, ...
6 years, 5 months ago (2014-07-21 18:59:47 UTC) #7
boliu
On 2014/07/21 18:59:47, willchan wrote: > On 2014/07/21 18:55:52, boliu wrote: > > On 2014/07/21 ...
6 years, 5 months ago (2014-07-21 20:28:44 UTC) #8
willchan no longer on Chromium
lgtm
6 years, 5 months ago (2014-07-21 20:32:26 UTC) #9
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 5 months ago (2014-07-21 20:32:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/403803004/80001
6 years, 5 months ago (2014-07-21 20:33:43 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium ...
6 years, 5 months ago (2014-07-21 21:34:42 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-21 23:11:29 UTC) #13
Message was sent while issue was closed.
Change committed as 284534

Powered by Google App Engine
This is Rietveld 408576698