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

Issue 9917002: IPC: change sync channel dispatch restriction to allow dispatch to other channels within the same "… (Closed)

Created:
8 years, 9 months ago by piman
Modified:
8 years, 8 months ago
Reviewers:
Josh Horwich, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, brettw, Josh Horwich
Visibility:
Public.

Description

IPC: change sync channel dispatch restriction to allow dispatch to other channels within the same "group" This prevents 4-way deadlocks with 2 renderers talking to 2 different pepper plugins. BUG=120530 TEST=RestrictedDispatch4WayDeadlock, load chromeos chrome with 2 gmail tabs (on 2 domains), quit and restore session multiple times. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129944

Patch Set 1 : #

Total comments: 7

Patch Set 2 : fixed behavior #

Patch Set 3 : docs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -30 lines) Patch
M content/renderer/pepper/pepper_broker_impl.cc View 2 chunks +3 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 2 chunks +3 lines, -1 line 0 comments Download
A content/renderer/renderer_restrict_dispatch_group.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M ipc/ipc_sync_channel.h View 1 2 4 chunks +22 lines, -7 lines 0 comments Download
M ipc/ipc_sync_channel.cc View 1 3 chunks +6 lines, -5 lines 0 comments Download
M ipc/ipc_sync_channel_unittest.cc View 1 2 11 chunks +171 lines, -16 lines 0 comments Download
M ipc/ipc_sync_message_unittest.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
piman
jam: please review (and OWNERS) brettw/jhorwich: please take a close look and let me know ...
8 years, 9 months ago (2012-03-29 01:22:21 UTC) #1
jam
can you remind me why the SetRestrictDispatchChannel stuff got added? this codepath worries me becaue ...
8 years, 9 months ago (2012-03-29 01:25:58 UTC) #2
brettw
lgtm https://chromiumcodereview.appspot.com/9917002/diff/2001/content/renderer/renderer_restrict_dispatch_group.h File content/renderer/renderer_restrict_dispatch_group.h (right): https://chromiumcodereview.appspot.com/9917002/diff/2001/content/renderer/renderer_restrict_dispatch_group.h#newcode11 content/renderer/renderer_restrict_dispatch_group.h:11: enum RendererRestrictDispatchGroup { Can you add a comment ...
8 years, 8 months ago (2012-03-29 18:28:57 UTC) #3
Josh Horwich
Looking this over since I was asked to do so... if the answer to my ...
8 years, 8 months ago (2012-03-29 18:29:22 UTC) #4
piman
https://chromiumcodereview.appspot.com/9917002/diff/2001/ipc/ipc_sync_channel.cc File ipc/ipc_sync_channel.cc (right): https://chromiumcodereview.appspot.com/9917002/diff/2001/ipc/ipc_sync_channel.cc#newcode107 ipc/ipc_sync_channel.cc:107: dispatching_context->restrict_dispatch_group()) { On 2012/03/29 18:29:22, Josh Horwich wrote: > ...
8 years, 8 months ago (2012-03-29 18:56:47 UTC) #5
piman
PTAL
8 years, 8 months ago (2012-03-30 01:18:53 UTC) #6
Josh Horwich
lgtm
8 years, 8 months ago (2012-03-30 02:04:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/9917002/17001
8 years, 8 months ago (2012-03-30 16:50:23 UTC) #8
commit-bot: I haz the power
Try job failure for 9917002-17001 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-03-30 17:56:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/9917002/17001
8 years, 8 months ago (2012-03-30 18:00:13 UTC) #10
commit-bot: I haz the power
8 years, 8 months ago (2012-03-30 21:13:49 UTC) #11
Try job failure for 9917002-17001 (retry) on win_rel for step "ui_tests".
It's a second try, previously, steps "ui_tests, browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698