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

Issue 1453383002: base: Make shared memory backed by Mach primitives by default. (Closed)

Created:
5 years, 1 month ago by erikchen
Modified:
5 years ago
CC:
chromium-reviews, gavinp+memory_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

base: Make shared memory backed by Mach primitives by default. The type of shared memory used is controlled by an A/B experiment. If the experiment isn't present, use Mach primitives. BUG=466437 Committed: https://crrev.com/8b8e4212cef52b2cf924c27bb7c49e375306acb3 Cr-Commit-Position: refs/heads/master@{#361249}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Force a POSIX test to use POSIX shared memory. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -27 lines) Patch
M base/memory/shared_memory.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M base/memory/shared_memory_mac.cc View 1 2 3 chunks +13 lines, -19 lines 0 comments Download
M base/memory/shared_memory_unittest.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/loader/resource_buffer.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
erikchen
mark: Please review base/ avi: Please review content/
5 years, 1 month ago (2015-11-21 02:02:57 UTC) #2
Avi (use Gerrit)
lgtm
5 years, 1 month ago (2015-11-21 14:14:44 UTC) #3
Mark Mentovai
LGTM https://codereview.chromium.org/1453383002/diff/20001/base/memory/shared_memory_mac.cc File base/memory/shared_memory_mac.cc (right): https://codereview.chromium.org/1453383002/diff/20001/base/memory/shared_memory_mac.cc#newcode56 base/memory/shared_memory_mac.cc:56: group = SharedMemoryHandle::MACH; NOTREACHED() too?
5 years, 1 month ago (2015-11-21 14:55:47 UTC) #4
erikchen
https://codereview.chromium.org/1453383002/diff/20001/base/memory/shared_memory_mac.cc File base/memory/shared_memory_mac.cc (right): https://codereview.chromium.org/1453383002/diff/20001/base/memory/shared_memory_mac.cc#newcode56 base/memory/shared_memory_mac.cc:56: group = SharedMemoryHandle::MACH; On 2015/11/21 14:55:47, Mark Mentovai wrote: ...
5 years ago (2015-11-23 19:24:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453383002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453383002/20001
5 years ago (2015-11-23 19:26:25 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/33743)
5 years ago (2015-11-23 20:09:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453383002/40001
5 years ago (2015-11-23 22:15:21 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133107)
5 years ago (2015-11-24 00:08:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453383002/40001
5 years ago (2015-11-24 00:43:06 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-24 03:53:13 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/8b8e4212cef52b2cf924c27bb7c49e375306acb3 Cr-Commit-Position: refs/heads/master@{#361249}
5 years ago (2015-11-24 03:54:15 UTC) #18
Sami
5 years ago (2015-11-25 12:12:57 UTC) #19
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1472313002/ by skyostil@chromium.org.

The reason for reverting is: Speculative revert: 3 mac perf bots started timing
out in random tests around the time this patch landed. I'll keep an eye on the
waterfall and reland if things don't improve.

See https://code.google.com/p/chromium/issues/detail?id=561416 for logs..

Powered by Google App Engine
This is Rietveld 408576698