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

Issue 1367013003: ipc: Change the timing of the construction of the attachment broker. (Closed)

Created:
5 years, 2 months ago by erikchen
Modified:
5 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ipc: Change the timing of the construction of the attachment broker. This CL ensures that the privileged attachment broker is constructed earlier in the process of creating a child process. This fixes a race condition for single process mode where the child thread's attachment broker would become the global attachment broker. BUG=534539 Committed: https://crrev.com/8758b4bd5bd210552606fa39d084aef7e786abd1 Cr-Commit-Position: refs/heads/master@{#350899}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase. #

Patch Set 3 : Comments from tsepez. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M content/common/child_process_host_impl.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M ipc/attachment_broker.cc View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
erikchen
avi: Please review.
5 years, 2 months ago (2015-09-24 21:28:24 UTC) #2
erikchen
tsepez: Please review.
5 years, 2 months ago (2015-09-25 01:13:31 UTC) #4
Avi (use Gerrit)
lgtm Nice!
5 years, 2 months ago (2015-09-25 14:29:27 UTC) #5
Tom Sepez
lgtm https://codereview.chromium.org/1367013003/diff/1/content/common/child_process_host_impl.cc File content/common/child_process_host_impl.cc (right): https://codereview.chromium.org/1367013003/diff/1/content/common/child_process_host_impl.cc#newcode116 content/common/child_process_host_impl.cc:116: // life cycle of making a child process. ...
5 years, 2 months ago (2015-09-25 15:37:34 UTC) #6
erikchen
https://codereview.chromium.org/1367013003/diff/1/content/common/child_process_host_impl.cc File content/common/child_process_host_impl.cc (right): https://codereview.chromium.org/1367013003/diff/1/content/common/child_process_host_impl.cc#newcode116 content/common/child_process_host_impl.cc:116: // life cycle of making a child process. This ...
5 years, 2 months ago (2015-09-25 19:27:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1367013003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1367013003/40001
5 years, 2 months ago (2015-09-25 19:27:50 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-09-25 20:35:23 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/8758b4bd5bd210552606fa39d084aef7e786abd1 Cr-Commit-Position: refs/heads/master@{#350899}
5 years, 2 months ago (2015-09-25 20:36:41 UTC) #12
erikchen
5 years, 2 months ago (2015-09-28 20:25:05 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1373993002/ by erikchen@chromium.org.

The reason for reverting is: Still causes problems in at least one Dr. Memory
test. https://code.google.com/p/chromium/issues/detail?id=536891
Requires further investigation - Reverting for now.

Powered by Google App Engine
This is Rietveld 408576698