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

Issue 2393333002: Remove code that checks if MessagePumpForGpu was signaled. (Closed)

Created:
4 years, 2 months ago by stanisc
Modified:
4 years, 2 months ago
CC:
chromium-reviews, piman+watch_chromium.org, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove code that checks if MessagePumpForGpu was signaled. This reverts https://codereview.chromium.org/2077613002/. The check was supposed to tell us whether GPU process main thread's message pump was signaled at the time of the hang. In practice 100% of crash dumps had the negative result. After some additional research I realized that that was a false negative and that this check doesn't work as expected with auto-reset events. I confirmed that an auto-reset event gets promptly reset back to non-signaled when it gets signaled as long as there is at least one thread already waiting on it. That is the case even when when the target thread is never scheduled to run. The check would work with a manual-reset event but apparently it is useless in the case of an auto-reset event. BUG=620904 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/9fc5e16ec88edd066a0725c80918f6001dd8620f Cr-Commit-Position: refs/heads/master@{#424040}

Patch Set 1 : Remove the code that checks if MessagePumpForGpu was signaled. It doesn't work as expected. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -47 lines) Patch
M base/message_loop/message_loop.h View 1 chunk +0 lines, -9 lines 0 comments Download
M base/message_loop/message_loop.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M base/message_loop/message_pump.h View 1 chunk +0 lines, -9 lines 0 comments Download
M base/message_loop/message_pump.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M base/message_loop/message_pump_win.h View 1 chunk +0 lines, -7 lines 0 comments Download
M base/message_loop/message_pump_win.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M gpu/ipc/service/gpu_watchdog_thread.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
stanisc
kbr@chromium.org: Please review changes in gpu/ dcheng@chromium.org: Please review changes in base/message_loop
4 years, 2 months ago (2016-10-07 18:40:23 UTC) #11
dcheng
lgtm
4 years, 2 months ago (2016-10-07 18:50:15 UTC) #12
Ken Russell (switch to Gerrit)
gpu/ lgtm
4 years, 2 months ago (2016-10-07 18:58:34 UTC) #13
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/2393333002/20001
4 years, 2 months ago (2016-10-07 20:12:04 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/156700)
4 years, 2 months ago (2016-10-07 22:18:35 UTC) #17
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/2393333002/20001
4 years, 2 months ago (2016-10-08 01:52:26 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 2 months ago (2016-10-08 01:57:36 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-10-08 01:59:33 UTC) #23
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9fc5e16ec88edd066a0725c80918f6001dd8620f
Cr-Commit-Position: refs/heads/master@{#424040}

Powered by Google App Engine
This is Rietveld 408576698