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

Issue 1867733002: mac: Remove POSIX shared memory. (Closed)

Created:
4 years, 8 months ago by erikchen
Modified:
4 years, 8 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, gavinp+memory_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@temp50_base
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Remove POSIX shared memory. There are no more consumers. BUG=568284 Committed: https://crrev.com/acc9ec9e73902650962df0c24a209abfc2a827ef Cr-Commit-Position: refs/heads/master@{#387050}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : copmile errors #

Patch Set 4 : Compile error. #

Patch Set 5 : Rebase. #

Patch Set 6 : Allow zero-size SHMs. #

Patch Set 7 : #

Total comments: 6

Patch Set 8 : Comments from amistry. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -714 lines) Patch
M base/memory/shared_memory.h View 6 chunks +5 lines, -23 lines 0 comments Download
M base/memory/shared_memory_handle.h View 1 2 3 4 5 4 chunks +13 lines, -60 lines 0 comments Download
M base/memory/shared_memory_handle_mac.cc View 1 2 3 4 5 6 4 chunks +41 lines, -139 lines 0 comments Download
M base/memory/shared_memory_mac.cc View 8 chunks +19 lines, -240 lines 0 comments Download
M base/memory/shared_memory_unittest.cc View 8 chunks +5 lines, -18 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 1 2 3 2 chunks +4 lines, -7 lines 0 comments Download
M content/renderer/media/video_capture_message_filter_unittest.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils.cc View 7 1 chunk +21 lines, -71 lines 0 comments Download
M mojo/edk/embedder/embedder_unittest.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -136 lines 2 comments Download
M mojo/edk/embedder/platform_shared_buffer.cc View 1 2 3 4 3 chunks +3 lines, -17 lines 0 comments Download
M mojo/edk/embedder/platform_shared_buffer_unittest.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 46 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867733002/20001
4 years, 8 months ago (2016-04-07 00:39:22 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867733002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867733002/40001
4 years, 8 months ago (2016-04-07 01:14:59 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/207035)
4 years, 8 months ago (2016-04-07 01:45:08 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867733002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867733002/60001
4 years, 8 months ago (2016-04-07 02:27:54 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/207134)
4 years, 8 months ago (2016-04-07 04:30:56 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867733002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867733002/80001
4 years, 8 months ago (2016-04-07 18:27:59 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/201523)
4 years, 8 months ago (2016-04-07 21:14:33 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867733002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867733002/100001
4 years, 8 months ago (2016-04-08 18:54:18 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867733002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867733002/120001
4 years, 8 months ago (2016-04-08 22:37:27 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-08 23:46:02 UTC) #20
erikchen
mark: Please review base/ mseaborn: Please review components/nacl avi: Please review content/ tsepez: Please review ...
4 years, 8 months ago (2016-04-09 00:07:20 UTC) #22
Mark Seaborn
On 2016/04/09 00:07:20, erikchen wrote: > mseaborn: Please review components/nacl LGTM
4 years, 8 months ago (2016-04-09 00:11:38 UTC) #23
Avi (use Gerrit)
https://codereview.chromium.org/1867733002/diff/120001/base/memory/shared_memory.h File base/memory/shared_memory.h (right): https://codereview.chromium.org/1867733002/diff/120001/base/memory/shared_memory.h#newcode35 base/memory/shared_memory.h:35: #if !(defined(OS_MACOSX) && !defined(OS_IOS)) OMG Does iOS use this? ...
4 years, 8 months ago (2016-04-09 00:13:40 UTC) #24
erikchen
https://codereview.chromium.org/1867733002/diff/120001/base/memory/shared_memory.h File base/memory/shared_memory.h (right): https://codereview.chromium.org/1867733002/diff/120001/base/memory/shared_memory.h#newcode35 base/memory/shared_memory.h:35: #if !(defined(OS_MACOSX) && !defined(OS_IOS)) On 2016/04/09 00:13:40, Avi wrote: ...
4 years, 8 months ago (2016-04-09 00:20:50 UTC) #25
Avi (use Gerrit)
lgtm
4 years, 8 months ago (2016-04-09 00:25:27 UTC) #26
Anand Mistry (off Chromium)
LGTM for Mojo with one cleanup request. https://codereview.chromium.org/1867733002/diff/120001/mojo/edk/embedder/embedder_unittest.cc File mojo/edk/embedder/embedder_unittest.cc (right): https://codereview.chromium.org/1867733002/diff/120001/mojo/edk/embedder/embedder_unittest.cc#newcode378 mojo/edk/embedder/embedder_unittest.cc:378: TEST_F(EmbedderTest, MultiprocessMachSharedMemory) ...
4 years, 8 months ago (2016-04-09 00:44:59 UTC) #27
erikchen
https://codereview.chromium.org/1867733002/diff/120001/mojo/edk/embedder/embedder_unittest.cc File mojo/edk/embedder/embedder_unittest.cc (right): https://codereview.chromium.org/1867733002/diff/120001/mojo/edk/embedder/embedder_unittest.cc#newcode378 mojo/edk/embedder/embedder_unittest.cc:378: TEST_F(EmbedderTest, MultiprocessMachSharedMemory) { On 2016/04/09 00:44:59, Anand Mistry wrote: ...
4 years, 8 months ago (2016-04-09 01:19:53 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867733002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867733002/140001
4 years, 8 months ago (2016-04-09 01:20:11 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-09 02:28:21 UTC) #32
erikchen
+thakis for base/
4 years, 8 months ago (2016-04-12 17:08:42 UTC) #34
Tom Sepez
lgtm
4 years, 8 months ago (2016-04-12 17:29:49 UTC) #35
Nico
lgtm, nice! https://codereview.chromium.org/1867733002/diff/140001/mojo/edk/embedder/embedder_unittest.cc File mojo/edk/embedder/embedder_unittest.cc (left): https://codereview.chromium.org/1867733002/diff/140001/mojo/edk/embedder/embedder_unittest.cc#oldcode306 mojo/edk/embedder/embedder_unittest.cc:306: options.type = base::SharedMemoryHandle::POSIX; this isn't needed? why ...
4 years, 8 months ago (2016-04-13 01:59:59 UTC) #36
Anand Mistry (off Chromium)
https://codereview.chromium.org/1867733002/diff/140001/mojo/edk/embedder/embedder_unittest.cc File mojo/edk/embedder/embedder_unittest.cc (left): https://codereview.chromium.org/1867733002/diff/140001/mojo/edk/embedder/embedder_unittest.cc#oldcode306 mojo/edk/embedder/embedder_unittest.cc:306: options.type = base::SharedMemoryHandle::POSIX; On 2016/04/13 01:59:59, Nico wrote: > ...
4 years, 8 months ago (2016-04-13 12:10:48 UTC) #37
Mark Mentovai
LGTM (I was on vacation when this came in.)
4 years, 8 months ago (2016-04-13 15:30:20 UTC) #38
Mark Mentovai
P.S. Thanks for the cleanup!
4 years, 8 months ago (2016-04-13 15:30:34 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867733002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867733002/140001
4 years, 8 months ago (2016-04-13 16:49:43 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-13 18:49:40 UTC) #43
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/acc9ec9e73902650962df0c24a209abfc2a827ef Cr-Commit-Position: refs/heads/master@{#387050}
4 years, 8 months ago (2016-04-13 18:51:30 UTC) #45
shrike
4 years, 8 months ago (2016-04-14 22:54:19 UTC) #46
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/1890023002/ by shrike@chromium.org.

The reason for reverting is: Looking for the cause of https://crbug.com/603452..

Powered by Google App Engine
This is Rietveld 408576698