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

Issue 1864323002: Migrate from CRITICAL_SECTION to SRWLOCK (Closed)

Created:
4 years, 8 months ago by robliao
Modified:
4 years, 8 months ago
Reviewers:
danakj, jschuh, scottmg
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@cv
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Migrate from CRITICAL_SECTION to SRWLOCK With the new Win 7 minimum version requirement, we can start using SRWLOCKs, which are lighter weight and generally faster than CRITICAL_SECTIONS under exclusive mode, which is what we use. BUG=592752 Committed: https://crrev.com/7a8a904bfdf23bb8cacba471718bc09a0d9a3175 Cr-Commit-Position: refs/heads/master@{#386442}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -22 lines) Patch
M base/synchronization/condition_variable.h View 1 chunk +1 line, -1 line 0 comments Download
M base/synchronization/condition_variable_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/synchronization/lock.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M base/synchronization/lock_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M base/synchronization/lock_impl_win.cc View 1 chunk +5 lines, -14 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 38 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864323002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864323002/1
4 years, 8 months ago (2016-04-06 20:30:43 UTC) #3
robliao
danakj: Please provide OWNER approval for this changelist. Thanks! scottmg: FYI, feel free to take ...
4 years, 8 months ago (2016-04-06 22:18:53 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/46608) linux_android_rel_ng on ...
4 years, 8 months ago (2016-04-06 22:27:53 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864323002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864323002/1
4 years, 8 months ago (2016-04-06 22:32:28 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/141808) linux_chromium_chromeos_compile_dbg_ng on ...
4 years, 8 months ago (2016-04-06 22:33:36 UTC) #11
scottmg
+jschuh who was timing swrlocks yesterday (I assume with you, but just in case not ...
4 years, 8 months ago (2016-04-06 22:36:12 UTC) #13
robliao
https://codereview.chromium.org/1864323002/diff/1/base/synchronization/lock_impl_win.cc File base/synchronization/lock_impl_win.cc (right): https://codereview.chromium.org/1864323002/diff/1/base/synchronization/lock_impl_win.cc#newcode19 base/synchronization/lock_impl_win.cc:19: ::AcquireSRWLockExclusive(&native_handle_); On 2016/04/06 22:36:12, scottmg wrote: > SRWs aren't ...
4 years, 8 months ago (2016-04-06 22:51:09 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864323002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864323002/1
4 years, 8 months ago (2016-04-06 22:52:08 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864323002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864323002/20001
4 years, 8 months ago (2016-04-06 23:20:57 UTC) #18
danakj
> which are lighter weight and generally faster than CRITICAL_SECTIONS under exclusive mode, which is ...
4 years, 8 months ago (2016-04-06 23:32:27 UTC) #19
robliao
On 2016/04/06 23:32:27, danakj wrote: > > which are lighter weight and generally faster than ...
4 years, 8 months ago (2016-04-06 23:55:15 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-07 03:33:40 UTC) #22
danakj
Cool, thanks! LGTM
4 years, 8 months ago (2016-04-07 19:00:58 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864323002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864323002/20001
4 years, 8 months ago (2016-04-07 19:07:30 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-07 19:14:29 UTC) #27
robliao
On 2016/04/07 19:14:29, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 8 months ago (2016-04-08 20:16:43 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864323002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864323002/20001
4 years, 8 months ago (2016-04-11 17:36:25 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-11 19:30:30 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864323002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864323002/20001
4 years, 8 months ago (2016-04-11 19:32:03 UTC) #34
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-11 19:39:55 UTC) #36
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 19:41:29 UTC) #38
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7a8a904bfdf23bb8cacba471718bc09a0d9a3175
Cr-Commit-Position: refs/heads/master@{#386442}

Powered by Google App Engine
This is Rietveld 408576698