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

Issue 2135113002: [mojo-edk] Close pending merges if the parent channel dies. (Closed)

Created:
4 years, 5 months ago by Anand Mistry (off Chromium)
Modified:
4 years, 5 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, piman+watch_chromium.org, 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] Close pending merges if the parent channel dies. Posix behaviour for child process when a parent dies is... complicated. ChildThreadImpl relies on the IPC channel error handler to detect when the parent is gone and shut down. However, if the parent dies before the channel's token/port is merged, the child never receives the channel error. This change causes ports that have pending merges to close when the parent channel is gone. This doesn't cover the case when a merge has been sent, but hasn't yet been processed by the time the parent channel is gone. That's a bit more complicated. BUG=604282 Committed: https://crrev.com/121c8804d511e331b9098a06e425172917c34e06 Cr-Commit-Position: refs/heads/master@{#405047}

Patch Set 1 #

Patch Set 2 : Test 2. #

Patch Set 3 : Revert stuff for merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -21 lines) Patch
M mojo/edk/system/node_channel.h View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/edk/system/node_channel.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/edk/system/node_controller.h View 3 chunks +8 lines, -3 lines 0 comments Download
M mojo/edk/system/node_controller.cc View 1 14 chunks +44 lines, -14 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Anand Mistry (off Chromium)
This is the cause of the test failure which caused the GPU ChannelMojo change to ...
4 years, 5 months ago (2016-07-12 03:57:09 UTC) #5
Ken Rockot(use gerrit already)
lgtm - isn't the other case you mention in the description already covered by node ...
4 years, 5 months ago (2016-07-12 07:08:47 UTC) #6
Anand Mistry (off Chromium)
On 2016/07/12 07:08:47, Ken Rockot wrote: > lgtm - isn't the other case you mention ...
4 years, 5 months ago (2016-07-12 07:31:40 UTC) #7
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/2135113002/40001
4 years, 5 months ago (2016-07-13 04:17:26 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-13 05:39:42 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/121c8804d511e331b9098a06e425172917c34e06 Cr-Commit-Position: refs/heads/master@{#405047}
4 years, 5 months ago (2016-07-13 05:41:02 UTC) #13
waxmiguel
cheers!
4 years, 5 months ago (2016-07-13 05:43:24 UTC) #15
waxmiguel
On 2016/07/12 03:55:05, Anand Mistry wrote: > Description was changed from > > ========== > ...
4 years, 5 months ago (2016-07-13 05:44:54 UTC) #16
waxmiguel
4 years, 5 months ago (2016-07-13 06:12:40 UTC) #17
Message was sent while issue was closed.
On 2016/07/13 05:39:42, commit-bot: I haz the power wrote:
> Committed patchset #3 (id:40001)

Powered by Google App Engine
This is Rietveld 408576698