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

Issue 2916673003: Disable DCHECK for no BLOCK_SHUTDOWN posted after TaskScheduler shutdown. (Closed)

Created:
3 years, 6 months ago by gab
Modified:
3 years, 6 months ago
Reviewers:
robliao, fdoray
CC:
chromium-reviews, gab+watch_chromium.org, robliao+watch_chromium.org, fdoray+watch_chromium.org, danakj+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable DCHECK for no BLOCK_SHUTDOWN posted after TaskScheduler shutdown. Until it's possible for async observation services to post non-BLOCK_SHUTDOWN tasks to otherwise BLOCK_SHUTDOWN sequences, this DCHECK will be flaky. clang-format off is required or I couldn't find a way to make it happy with the comment (either inside or outside the #if) BUG=728235, 698140 Review-Url: https://codereview.chromium.org/2916673003 Cr-Commit-Position: refs/heads/master@{#476799} Committed: https://chromium.googlesource.com/chromium/src/+/b2b72df4bdc0217e7ed7cc321648028a429edf61

Patch Set 1 #

Total comments: 3

Patch Set 2 : fix BlockShutdown/TaskSchedulerTaskTrackerTest.WillPostAfterShutdown #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M base/task_scheduler/task_tracker.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M base/task_scheduler/task_tracker_unittest.cc View 1 1 chunk +1 line, -5 lines 3 comments Download

Messages

Total messages: 28 (18 generated)
gab
As discussed.
3 years, 6 months ago (2017-05-31 21:08:14 UTC) #6
robliao
lgtm + nit https://codereview.chromium.org/2916673003/diff/20001/base/task_scheduler/task_tracker.cc File base/task_scheduler/task_tracker.cc (right): https://codereview.chromium.org/2916673003/diff/20001/base/task_scheduler/task_tracker.cc#newcode413 base/task_scheduler/task_tracker.cc:413: // FileDescriptorWatcher. Same is true for ...
3 years, 6 months ago (2017-05-31 21:33:54 UTC) #8
gab
https://codereview.chromium.org/2916673003/diff/20001/base/task_scheduler/task_tracker.cc File base/task_scheduler/task_tracker.cc (right): https://codereview.chromium.org/2916673003/diff/20001/base/task_scheduler/task_tracker.cc#newcode413 base/task_scheduler/task_tracker.cc:413: // FileDescriptorWatcher. Same is true for FilePathWatcher On 2017/05/31 ...
3 years, 6 months ago (2017-06-01 13:52:30 UTC) #11
robliao
https://codereview.chromium.org/2916673003/diff/20001/base/task_scheduler/task_tracker.cc File base/task_scheduler/task_tracker.cc (right): https://codereview.chromium.org/2916673003/diff/20001/base/task_scheduler/task_tracker.cc#newcode413 base/task_scheduler/task_tracker.cc:413: // FileDescriptorWatcher. Same is true for FilePathWatcher On 2017/06/01 ...
3 years, 6 months ago (2017-06-01 17:00:54 UTC) #16
gab
https://codereview.chromium.org/2916673003/diff/40001/base/task_scheduler/task_tracker_unittest.cc File base/task_scheduler/task_tracker_unittest.cc (left): https://codereview.chromium.org/2916673003/diff/40001/base/task_scheduler/task_tracker_unittest.cc#oldcode415 base/task_scheduler/task_tracker_unittest.cc:415: if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) { On 2017/06/01 17:00:53, robliao ...
3 years, 6 months ago (2017-06-01 17:59:40 UTC) #17
fdoray
lgtm https://codereview.chromium.org/2916673003/diff/40001/base/task_scheduler/task_tracker_unittest.cc File base/task_scheduler/task_tracker_unittest.cc (left): https://codereview.chromium.org/2916673003/diff/40001/base/task_scheduler/task_tracker_unittest.cc#oldcode415 base/task_scheduler/task_tracker_unittest.cc:415: if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) { On 2017/06/01 17:59:39, ...
3 years, 6 months ago (2017-06-02 15:07:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2916673003/40001
3 years, 6 months ago (2017-06-02 15:15:03 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/229524)
3 years, 6 months ago (2017-06-02 16:54:01 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2916673003/40001
3 years, 6 months ago (2017-06-02 18:04:58 UTC) #25
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 21:32:40 UTC) #28
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/b2b72df4bdc0217e7ed7cc321648...

Powered by Google App Engine
This is Rietveld 408576698