|
|
Descriptionuse acquire/release in SkEventTracer.cpp
BUG=chromium:437044
Committed: https://skia.googlesource.com/skia/+/743be194eda4c1f37c4a5f62f38ef88f09f30649
Patch Set 1 #
Total comments: 2
Messages
Total messages: 18 (7 generated)
mtklein@chromium.org changed reviewers: + glider@chromium.org
The CQ bit was checked by mtklein@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091283006/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
LGTM with a nit. Thanks for the quick turnaround! https://codereview.chromium.org/1091283006/diff/1/src/utils/SkEventTracer.cpp File src/utils/SkEventTracer.cpp (right): https://codereview.chromium.org/1091283006/diff/1/src/utils/SkEventTracer.cpp... src/utils/SkEventTracer.cpp:45: SkASSERT(nullptr == sk_atomic_load(&gUserTracer, sk_memory_order_acquire)); I may be mistaking, but this one can be demoted to a nobarrier read, since you're not using the value.
mtklein@google.com changed reviewers: + mtklein@google.com
https://codereview.chromium.org/1091283006/diff/1/src/utils/SkEventTracer.cpp File src/utils/SkEventTracer.cpp (right): https://codereview.chromium.org/1091283006/diff/1/src/utils/SkEventTracer.cpp... src/utils/SkEventTracer.cpp:45: SkASSERT(nullptr == sk_atomic_load(&gUserTracer, sk_memory_order_acquire)); On 2015/04/22 17:47:50, Alexander Potapenko wrote: > I may be mistaking, but this one can be demoted to a nobarrier read, since > you're not using the value. Yeah, seemed simpler to keep it all as _acquire so I don't get confused and try to make things all _relaxed again, especially because it's just a debug-only assert.
The CQ bit was checked by mtklein@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091283006/1
Note for Reviewers: The CQ is waiting for an approval. If you believe that the CL is not ready yet, or if you would like to L-G-T-M with comments then please uncheck the CQ checkbox. Waiting for LGTM from valid reviewer(s) till 2015-04-23 00:57 UTC
The CQ bit was unchecked by commit-bot@chromium.org
No LGTM from a valid reviewer yet. Please ask for an LGTM from a full Skia committer from https://skia.googlesource.com/skia/+/master/CQ_COMMITTERS
The CQ bit was checked by mtklein@google.com
lgtm Boy you're dumb CQ...
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091283006/1
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/743be194eda4c1f37c4a5f62f38ef88f09f30649 |