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

Issue 2806403002: Support delayed allocations from persistent memory. (Closed)

Created:
3 years, 8 months ago by bcwhite
Modified:
3 years, 8 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Support delayed allocations from persistent memory. This allows for an allocation to be defined by code that knows about persistent allocation but not be realized until more generic code actually needs the space. In addition, delayed allocations can be split and shared such that once its needed in one place it will be available in all places, an all-or- nothing arrangement. This is done in support of follow-up CL: https://codereview.chromium.org/2811713003/ BUG=705342 Review-Url: https://codereview.chromium.org/2806403002 Cr-Commit-Position: refs/heads/master@{#466374} Committed: https://chromium.googlesource.com/chromium/src/+/1166f8da78cfb4071f088e0f85fd940429d785fe

Patch Set 1 #

Patch Set 2 : fixed build problems #

Total comments: 24

Patch Set 3 : addressed review comments by asvitkine #

Patch Set 4 : addressed review comments by asvitkine #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -0 lines) Patch
M base/metrics/persistent_memory_allocator.h View 1 2 3 1 chunk +96 lines, -0 lines 0 comments Download
M base/metrics/persistent_memory_allocator.cc View 1 2 3 1 chunk +106 lines, -0 lines 0 comments Download
M base/metrics/persistent_memory_allocator_unittest.cc View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (21 generated)
bcwhite
3 years, 8 months ago (2017-04-10 19:49:20 UTC) #11
Alexei Svitkine (slow)
Sorry, I've not had a chance to get to this or the other CL yet. ...
3 years, 8 months ago (2017-04-11 21:38:44 UTC) #12
Alexei Svitkine (slow)
Some initial comments. Haven't looked at the other CL that uses it first. https://codereview.chromium.org/2806403002/diff/20001/base/metrics/persistent_memory_allocator.cc File ...
3 years, 8 months ago (2017-04-12 17:04:25 UTC) #13
bcwhite
https://codereview.chromium.org/2806403002/diff/20001/base/metrics/persistent_memory_allocator.cc File base/metrics/persistent_memory_allocator.cc (right): https://codereview.chromium.org/2806403002/diff/20001/base/metrics/persistent_memory_allocator.cc#newcode1079 base/metrics/persistent_memory_allocator.cc:1079: 0) {} On 2017/04/12 17:04:24, Alexei Svitkine (very slow) ...
3 years, 8 months ago (2017-04-12 21:23:43 UTC) #16
Alexei Svitkine (slow)
https://codereview.chromium.org/2806403002/diff/20001/base/metrics/persistent_memory_allocator.cc File base/metrics/persistent_memory_allocator.cc (right): https://codereview.chromium.org/2806403002/diff/20001/base/metrics/persistent_memory_allocator.cc#newcode1115 base/metrics/persistent_memory_allocator.cc:1115: make_iterable_ = true; On 2017/04/12 21:23:42, bcwhite wrote: > ...
3 years, 8 months ago (2017-04-21 15:14:16 UTC) #19
bcwhite
https://codereview.chromium.org/2806403002/diff/20001/base/metrics/persistent_memory_allocator.cc File base/metrics/persistent_memory_allocator.cc (right): https://codereview.chromium.org/2806403002/diff/20001/base/metrics/persistent_memory_allocator.cc#newcode1115 base/metrics/persistent_memory_allocator.cc:1115: make_iterable_ = true; On 2017/04/21 15:14:16, Alexei Svitkine (slow) ...
3 years, 8 months ago (2017-04-21 15:59:04 UTC) #22
Alexei Svitkine (slow)
lgtm
3 years, 8 months ago (2017-04-21 16:27:10 UTC) #23
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/2806403002/60001
3 years, 8 months ago (2017-04-21 17:15:14 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 17:19:24 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/1166f8da78cfb4071f088e0f85fd...

Powered by Google App Engine
This is Rietveld 408576698