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

Issue 1422013002: Preparational work for an upcoming addition of a threadchecking scheme for APM (Closed)

Created:
5 years, 1 month ago by peah-webrtc
Modified:
5 years ago
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, tterriberry_mozilla.com, hlundin-webrtc, kwiberg-webrtc, the sun, aluebs-webrtc, bjornv1, ivoc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@bundling_of_state_CL
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added a threadchecking scheme to APM that checks that the APM API calls are called from the correct threads. The actual threadcheckers were, however, removed and will be reintroduced in another upcoming CL. BUG=webrtc:5099 Committed: https://crrev.com/81b9bfe6856bb4f9fd0ba79899f72b8385c58979 Cr-Commit-Position: refs/heads/master@{#10817}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Changes in response to user comments #

Total comments: 22

Patch Set 3 : Changes in response to latest reviewer comments #

Total comments: 5

Patch Set 4 : Re-revised the thread_checking scheme #

Patch Set 5 : Added threadcheckers also to the private functions (when possible) and added a signal threadchecker #

Patch Set 6 : Fixed the final threadchecker refactoring issues (and merged from latest master) #

Total comments: 6

Patch Set 7 : Added DCHECKS with threadchecker combinations #

Patch Set 8 : Fixed the conditional thread-checking scheme" #

Total comments: 2

Patch Set 9 : Modified and shortened comments #

Patch Set 10 : Merge with latest master and changed some comments #

Patch Set 11 : Removed the thread checkers (which will be applied later in a separate CL) #

Patch Set 12 : Merge with master #

Messages

Total messages: 72 (34 generated)
peah-webrtc
5 years, 1 month ago (2015-10-26 09:24:56 UTC) #3
kwiberg-webrtc
https://codereview.webrtc.org/1422013002/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1422013002/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode254 webrtc/modules/audio_processing/audio_processing_impl.cc:254: capture_thread_.DetachFromThread(); Move these as high up as possible, so ...
5 years, 1 month ago (2015-10-26 13:57:56 UTC) #4
peah-webrtc
This CL is now again in the desired shape. Please review at will. https://codereview.webrtc.org/1422013002/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File ...
5 years, 1 month ago (2015-11-05 11:47:33 UTC) #5
hlundin-webrtc
LG, just a few nits. https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/echo_cancellation_impl.cc File webrtc/modules/audio_processing/echo_cancellation_impl.cc (right): https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/echo_cancellation_impl.cc#newcode446 webrtc/modules/audio_processing/echo_cancellation_impl.cc:446: C-k https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/echo_cancellation_impl.h File webrtc/modules/audio_processing/echo_cancellation_impl.h ...
5 years, 1 month ago (2015-11-05 13:08:55 UTC) #6
peah-webrtc
https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/echo_cancellation_impl.cc File webrtc/modules/audio_processing/echo_cancellation_impl.cc (right): https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/echo_cancellation_impl.cc#newcode446 webrtc/modules/audio_processing/echo_cancellation_impl.cc:446: On 2015/11/05 13:08:55, hlundin-webrtc wrote: > C-k Done. https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/echo_cancellation_impl.h ...
5 years, 1 month ago (2015-11-06 07:31:14 UTC) #7
hlundin-webrtc
lgtm https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/noise_suppression_impl.cc File webrtc/modules/audio_processing/noise_suppression_impl.cc (right): https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/noise_suppression_impl.cc#newcode51 webrtc/modules/audio_processing/noise_suppression_impl.cc:51: : ProcessingComponent(), apm_(apm), crit_(crit), level_(kModerate) {} On 2015/11/06 ...
5 years, 1 month ago (2015-11-06 07:45:07 UTC) #8
peah-webrtc
https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/noise_suppression_impl.cc File webrtc/modules/audio_processing/noise_suppression_impl.cc (right): https://codereview.webrtc.org/1422013002/diff/20001/webrtc/modules/audio_processing/noise_suppression_impl.cc#newcode51 webrtc/modules/audio_processing/noise_suppression_impl.cc:51: : ProcessingComponent(), apm_(apm), crit_(crit), level_(kModerate) {} On 2015/11/06 07:45:07, ...
5 years, 1 month ago (2015-11-06 08:11:47 UTC) #9
kwiberg-webrtc
lgtm https://codereview.webrtc.org/1422013002/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1422013002/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode254 webrtc/modules/audio_processing/audio_processing_impl.cc:254: capture_thread_.DetachFromThread(); On 2015/11/05 11:47:33, peah-webrtc wrote: > On ...
5 years, 1 month ago (2015-11-08 09:50:51 UTC) #10
the sun
https://codereview.webrtc.org/1422013002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.h File webrtc/modules/audio_processing/audio_processing_impl.h (right): https://codereview.webrtc.org/1422013002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.h#newcode158 webrtc/modules/audio_processing/audio_processing_impl.h:158: rtc::ThreadChecker render_thread_checker_; Why no rtc::ThreadChecker signal_thread_checker_; i.e., one for ...
5 years, 1 month ago (2015-11-11 10:50:47 UTC) #12
peah-webrtc
https://codereview.webrtc.org/1422013002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.h File webrtc/modules/audio_processing/audio_processing_impl.h (right): https://codereview.webrtc.org/1422013002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.h#newcode158 webrtc/modules/audio_processing/audio_processing_impl.h:158: rtc::ThreadChecker render_thread_checker_; On 2015/11/11 10:50:47, the sun wrote: > ...
5 years, 1 month ago (2015-11-17 16:03:47 UTC) #13
the sun
https://codereview.webrtc.org/1422013002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.h File webrtc/modules/audio_processing/audio_processing_impl.h (right): https://codereview.webrtc.org/1422013002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.h#newcode158 webrtc/modules/audio_processing/audio_processing_impl.h:158: rtc::ThreadChecker render_thread_checker_; On 2015/11/17 16:03:46, peah-webrtc wrote: > On ...
5 years, 1 month ago (2015-11-18 08:53:10 UTC) #14
peah-webrtc
I again revised the thread-checking scheme, but this time with the difference that I did ...
5 years, 1 month ago (2015-11-20 08:59:06 UTC) #15
peah-webrtc
Sorry again, need to do some minor further changes in the scheme due to a ...
5 years, 1 month ago (2015-11-23 08:57:56 UTC) #17
peah-webrtc
Now it is ready :-). Please go ahead and review whenever you want!
5 years, 1 month ago (2015-11-23 12:40:00 UTC) #19
the sun
Thanks for doing this! A few more questions. https://codereview.webrtc.org/1422013002/diff/100001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1422013002/diff/100001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode261 webrtc/modules/audio_processing/audio_processing_impl.cc:261: CriticalSectionScoped ...
5 years, 1 month ago (2015-11-23 12:46:21 UTC) #20
peah-webrtc
-Added thread checker for the destructor. -Removed the detach of the thread checker in the ...
5 years, 1 month ago (2015-11-23 13:49:40 UTC) #21
the sun
lgtm
5 years, 1 month ago (2015-11-23 15:26:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422013002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422013002/120001
5 years, 1 month ago (2015-11-23 22:11:55 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1916)
5 years, 1 month ago (2015-11-23 22:17:01 UTC) #27
the sun
still lgtm, but see comment https://codereview.webrtc.org/1422013002/diff/140001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1422013002/diff/140001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode404 webrtc/modules/audio_processing/audio_processing_impl.cc:404: // This is called ...
5 years ago (2015-11-25 08:53:56 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422013002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422013002/170001
5 years ago (2015-11-25 10:16:32 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1962)
5 years ago (2015-11-25 10:20:50 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422013002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422013002/190001
5 years ago (2015-11-25 11:45:23 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1964)
5 years ago (2015-11-25 11:49:55 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422013002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422013002/160001
5 years ago (2015-11-25 12:00:42 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1966)
5 years ago (2015-11-25 12:06:37 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422013002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422013002/160001
5 years ago (2015-11-25 12:30:08 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/9295)
5 years ago (2015-11-25 12:56:29 UTC) #49
peah-webrtc
Realized I had not sent the latest comment reply. https://codereview.webrtc.org/1422013002/diff/140001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1422013002/diff/140001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode404 webrtc/modules/audio_processing/audio_processing_impl.cc:404: ...
5 years ago (2015-11-25 15:40:17 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422013002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422013002/160001
5 years ago (2015-11-25 16:02:56 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/9341)
5 years ago (2015-11-25 17:20:33 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422013002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422013002/210001
5 years ago (2015-11-26 12:09:35 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years ago (2015-11-26 14:10:03 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422013002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422013002/230001
5 years ago (2015-11-27 05:27:03 UTC) #63
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/9365)
5 years ago (2015-11-27 09:19:10 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422013002/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422013002/250001
5 years ago (2015-11-27 09:50:01 UTC) #68
commit-bot: I haz the power
Committed patchset #12 (id:250001)
5 years ago (2015-11-27 10:47:33 UTC) #70
commit-bot: I haz the power
5 years ago (2015-11-27 10:47:44 UTC) #72
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/81b9bfe6856bb4f9fd0ba79899f72b8385c58979
Cr-Commit-Position: refs/heads/master@{#10817}

Powered by Google App Engine
This is Rietveld 408576698