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

Issue 2766763002: Fix DCHECK in ipc_perftests (Closed)

Created:
3 years, 9 months ago by Ken Rockot(use gerrit already)
Modified:
3 years, 9 months ago
Reviewers:
yzshen1
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix DCHECK in ipc_perftests Mojo Channel perf tests use an EDK supplied helper for multiprocess client setup. This helper assumes ownership of the client's primordial message pipe. IPC perf tests take ownership of the pipe and pass it to an IPC::Channel. These are conflicting policies. This allows a test helper user to indicate that the helper code should not assume ownership of its pipe handle. BUG=677202 R=yzshen@chromium.org Review-Url: https://codereview.chromium.org/2766763002 Cr-Commit-Position: refs/heads/master@{#458497} Committed: https://chromium.googlesource.com/chromium/src/+/40e95910df7d53d209041164ebb91351890e9117

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -13 lines) Patch
M ipc/ipc_mojo_perftest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/edk/test/multiprocess_test_helper.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/edk/test/multiprocess_test_helper.cc View 1 2 chunks +18 lines, -11 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
Ken Rockot(use gerrit already)
PTAL, just a small test fix that I had forgotten about. Clearing out some old ...
3 years, 9 months ago (2017-03-21 16:26:16 UTC) #3
yzshen1
LGTM with one nit https://codereview.chromium.org/2766763002/diff/1/mojo/edk/test/multiprocess_test_helper.h File mojo/edk/test/multiprocess_test_helper.h (right): https://codereview.chromium.org/2766763002/diff/1/mojo/edk/test/multiprocess_test_helper.h#newcode89 mojo/edk/test/multiprocess_test_helper.h:89: bool close_pipe_on_exit = true); nit: ...
3 years, 9 months ago (2017-03-21 16:43:30 UTC) #4
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2766763002/diff/1/mojo/edk/test/multiprocess_test_helper.h File mojo/edk/test/multiprocess_test_helper.h (right): https://codereview.chromium.org/2766763002/diff/1/mojo/edk/test/multiprocess_test_helper.h#newcode89 mojo/edk/test/multiprocess_test_helper.h:89: bool close_pipe_on_exit = true); On 2017/03/21 at 16:43:30, yzshen1 ...
3 years, 9 months ago (2017-03-21 16:51:31 UTC) #10
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/2766763002/20001
3 years, 9 months ago (2017-03-21 16:52:01 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 19:00:30 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/40e95910df7d53d209041164ebb9...

Powered by Google App Engine
This is Rietveld 408576698