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

Issue 2153733002: [mojo-edk] Prevent AcceptIncomingMessages flushing aggressively (Closed)

Created:
4 years, 5 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 5 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[mojo-edk] Prevent AcceptIncomingMessages flushing aggressively Changes AcceptIncomingMessages to only flush the incoming message queue once synchronously. This prevents deadlock cycles that can block incoming external messages by spinning the IO thread indefinitely. It also prevents similar cycles from chewing up CPU on other threads. Also fixes some Watcher tests that are broken by ProcessIncomingMessages behavior. This change made the brokenness more apparent. BUG=628492 R=amistry@chromium.org Committed: https://crrev.com/5cdb85fdae4f9f9487d67d080b794ca633219303 Cr-Commit-Position: refs/heads/master@{#405776}

Patch Set 1 : . #

Total comments: 2

Patch Set 2 : -_- #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -32 lines) Patch
M mojo/edk/system/node_controller.h View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/edk/system/node_controller.cc View 2 chunks +14 lines, -22 lines 0 comments Download
M mojo/edk/system/watch_unittest.cc View 1 8 chunks +23 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
Ken Rockot(use gerrit already)
I suppose this was inevitable
4 years, 5 months ago (2016-07-15 08:48:20 UTC) #10
Anand Mistry (off Chromium)
lgtm https://codereview.chromium.org/2153733002/diff/20001/mojo/edk/system/watch_unittest.cc File mojo/edk/system/watch_unittest.cc (right): https://codereview.chromium.org/2153733002/diff/20001/mojo/edk/system/watch_unittest.cc#newcode141 mojo/edk/system/watch_unittest.cc:141: LOG(ERROR) <<"YES CALLED ."; Remember to remove before ...
4 years, 5 months ago (2016-07-15 09:55:04 UTC) #14
Ken Rockot(use gerrit already)
Thanks https://codereview.chromium.org/2153733002/diff/20001/mojo/edk/system/watch_unittest.cc File mojo/edk/system/watch_unittest.cc (right): https://codereview.chromium.org/2153733002/diff/20001/mojo/edk/system/watch_unittest.cc#newcode141 mojo/edk/system/watch_unittest.cc:141: LOG(ERROR) <<"YES CALLED ."; On 2016/07/15 at 09:55:04, ...
4 years, 5 months ago (2016-07-15 13:55:41 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/2153733002/30001
4 years, 5 months ago (2016-07-15 15:20:00 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:30001)
4 years, 5 months ago (2016-07-15 17:08:01 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 17:10:51 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5cdb85fdae4f9f9487d67d080b794ca633219303
Cr-Commit-Position: refs/heads/master@{#405776}

Powered by Google App Engine
This is Rietveld 408576698