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

Issue 1307863009: Add debug mode to shared mutex. (Closed)

Created:
5 years, 3 months ago by herb_g
Modified:
5 years, 3 months ago
Reviewers:
mtklein, djsollen, mtklein_C
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : cleaned up #

Total comments: 4

Patch Set 3 : fixed up #

Total comments: 12

Patch Set 4 : address comments #

Total comments: 1

Patch Set 5 : remove space #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -130 lines) Patch
M include/core/SkTypes.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkSharedMutex.h View 1 2 3 4 3 chunks +27 lines, -13 lines 0 comments Download
M src/core/SkSharedMutex.cpp View 1 2 3 1 chunk +266 lines, -117 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
herb_g
5 years, 3 months ago (2015-09-09 18:36:43 UTC) #2
mtklein
https://codereview.chromium.org/1307863009/diff/20001/src/core/SkSharedMutex.h File src/core/SkSharedMutex.h (right): https://codereview.chromium.org/1307863009/diff/20001/src/core/SkSharedMutex.h#newcode24 src/core/SkSharedMutex.h:24: #ifdef SK_DEBUG I generally think google3's style on not ...
5 years, 3 months ago (2015-09-09 18:48:12 UTC) #3
herb_g
PTAL
5 years, 3 months ago (2015-09-17 19:34:34 UTC) #4
mtklein_C
https://codereview.chromium.org/1307863009/diff/40001/src/core/SkSharedMutex.cpp File src/core/SkSharedMutex.cpp (right): https://codereview.chromium.org/1307863009/diff/40001/src/core/SkSharedMutex.cpp#newcode75 src/core/SkSharedMutex.cpp:75: int currentShardCount; shard -> shared? https://codereview.chromium.org/1307863009/diff/40001/src/core/SkSharedMutex.cpp#newcode82 src/core/SkSharedMutex.cpp:82: SkASSERT(false); SkFAIL ...
5 years, 3 months ago (2015-09-17 19:51:42 UTC) #6
herb_g
https://codereview.chromium.org/1307863009/diff/40001/src/core/SkSharedMutex.cpp File src/core/SkSharedMutex.cpp (right): https://codereview.chromium.org/1307863009/diff/40001/src/core/SkSharedMutex.cpp#newcode75 src/core/SkSharedMutex.cpp:75: int currentShardCount; On 2015/09/17 19:51:42, mtklein_C wrote: > shard ...
5 years, 3 months ago (2015-09-17 21:39:41 UTC) #7
mtklein
lgtm https://codereview.chromium.org/1307863009/diff/60001/src/core/SkSharedMutex.h File src/core/SkSharedMutex.h (right): https://codereview.chromium.org/1307863009/diff/60001/src/core/SkSharedMutex.h#newcode53 src/core/SkSharedMutex.h:53: skstd::unique_ptr<ThreadIDSet>fCurrentShared; sssppace
5 years, 3 months ago (2015-09-17 22:07:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1307863009/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1307863009/80001
5 years, 3 months ago (2015-09-17 22:13:00 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/2712)
5 years, 3 months ago (2015-09-17 22:14:07 UTC) #13
herb_g
I added SkDEBUGFAILF so you can have formatted fail statements. Since this is a change ...
5 years, 3 months ago (2015-09-18 13:50:33 UTC) #15
djsollen
api lgtm
5 years, 3 months ago (2015-09-18 13:56:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1307863009/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1307863009/80001
5 years, 3 months ago (2015-09-18 14:00:02 UTC) #18
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 14:00:50 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/966e3d30baf676dc399dc9c97ef15cc2c4f8d461

Powered by Google App Engine
This is Rietveld 408576698