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

Issue 1660143009: Add SharedMemory version of PersistentMemoryAllocator. (Closed)

Created:
4 years, 10 months ago by bcwhite
Modified:
4 years, 10 months ago
CC:
chromium-reviews, asvitkine+watch_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

Add SharedMemory version of PersistentMemoryAllocator. This is a simple wrapper around PMA that knows how to interface with the SharedMemory class. Also changed interface of File... to reflect that it takes ownership of the passed object. BUG=546019 Committed: https://crrev.com/5451c58652c582c6f144d155c692f7b312f5708e Cr-Commit-Position: refs/heads/master@{#375217}

Patch Set 1 #

Patch Set 2 : fix signed/unsigned comparison in test and fixed ownership move in release build #

Total comments: 10

Patch Set 3 : addressed review comments by Alexei #

Total comments: 6

Patch Set 4 : minor formatting fixes #

Patch Set 5 : rebased #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -9 lines) Patch
M base/metrics/persistent_memory_allocator.h View 1 2 3 4 5 2 chunks +30 lines, -2 lines 0 comments Download
M base/metrics/persistent_memory_allocator.cc View 1 2 3 4 5 3 chunks +32 lines, -4 lines 0 comments Download
M base/metrics/persistent_memory_allocator_unittest.cc View 1 2 3 4 5 5 chunks +94 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
bcwhite
4 years, 10 months ago (2016-02-04 19:24:02 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/1660143009/diff/40001/base/metrics/persistent_memory_allocator.cc File base/metrics/persistent_memory_allocator.cc (right): https://codereview.chromium.org/1660143009/diff/40001/base/metrics/persistent_memory_allocator.cc#newcode664 base/metrics/persistent_memory_allocator.cc:664: scoped_ptr<SharedMemory> shmem, Nit: Make param consistent with header. https://codereview.chromium.org/1660143009/diff/40001/base/metrics/persistent_memory_allocator.h ...
4 years, 10 months ago (2016-02-05 21:54:02 UTC) #5
bcwhite
https://codereview.chromium.org/1660143009/diff/40001/base/metrics/persistent_memory_allocator.cc File base/metrics/persistent_memory_allocator.cc (right): https://codereview.chromium.org/1660143009/diff/40001/base/metrics/persistent_memory_allocator.cc#newcode664 base/metrics/persistent_memory_allocator.cc:664: scoped_ptr<SharedMemory> shmem, On 2016/02/05 21:54:02, Alexei Svitkine (very slow) ...
4 years, 10 months ago (2016-02-06 04:26:12 UTC) #7
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1660143009/diff/80001/base/metrics/persistent_memory_allocator.cc File base/metrics/persistent_memory_allocator.cc (right): https://codereview.chromium.org/1660143009/diff/80001/base/metrics/persistent_memory_allocator.cc#newcode673 base/metrics/persistent_memory_allocator.cc:673: } Nit: run git cl format? I am ...
4 years, 10 months ago (2016-02-09 19:58:44 UTC) #8
bcwhite
https://codereview.chromium.org/1660143009/diff/80001/base/metrics/persistent_memory_allocator.cc File base/metrics/persistent_memory_allocator.cc (right): https://codereview.chromium.org/1660143009/diff/80001/base/metrics/persistent_memory_allocator.cc#newcode673 base/metrics/persistent_memory_allocator.cc:673: } On 2016/02/09 19:58:44, Alexei Svitkine wrote: > Nit: ...
4 years, 10 months ago (2016-02-10 16:43:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1660143009/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1660143009/100001
4 years, 10 months ago (2016-02-11 15:08:54 UTC) #12
commit-bot: I haz the power
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/178818)
4 years, 10 months ago (2016-02-11 15:13:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1660143009/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1660143009/140001
4 years, 10 months ago (2016-02-12 17:35:13 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 10 months ago (2016-02-12 18:47:25 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:44:06 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5451c58652c582c6f144d155c692f7b312f5708e
Cr-Commit-Position: refs/heads/master@{#375217}

Powered by Google App Engine
This is Rietveld 408576698