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

Issue 2534643002: Add support for turning pointers back to references. (Closed)

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

Description

Add support for turning pointers back to references. This will be used by a CL for the "breadcrumbs" project that needs to convert from a raw-memory pointer used by a class that knows nothing about persistent memory, back to a reference. BUG=620813 Committed: https://crrev.com/1010504cb3b08b97f97e08398833e9db59eceb20 Cr-Commit-Position: refs/heads/master@{#434788}

Patch Set 1 #

Patch Set 2 : added underflow check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -0 lines) Patch
M base/metrics/persistent_memory_allocator.h View 1 chunk +5 lines, -0 lines 0 comments Download
M base/metrics/persistent_memory_allocator.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M base/metrics/persistent_memory_allocator_unittest.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
bcwhite
4 years ago (2016-11-25 19:37:56 UTC) #4
Alexei Svitkine (slow)
Looks good to me - but just wondering what's the context for making this change? ...
4 years ago (2016-11-25 19:50:06 UTC) #5
bcwhite
On 2016/11/25 19:50:06, Alexei Svitkine (slow) wrote: > Looks good to me - but just ...
4 years ago (2016-11-28 15:44:27 UTC) #8
Alexei Svitkine (slow)
On 2016/11/28 15:44:27, bcwhite wrote: > On 2016/11/25 19:50:06, Alexei Svitkine (slow) wrote: > > ...
4 years ago (2016-11-28 16:00:19 UTC) #9
bcwhite
On 2016/11/28 16:00:19, Alexei Svitkine (slow) wrote: > On 2016/11/28 15:44:27, bcwhite wrote: > > ...
4 years ago (2016-11-28 16:05:43 UTC) #10
Alexei Svitkine (slow)
Woops, you are right - I've added the comment there - sorry about that! For ...
4 years ago (2016-11-28 16:10:41 UTC) #11
bcwhite
> For this CL, thanks for the explanation. Can you file a bug for the ...
4 years ago (2016-11-28 16:18:26 UTC) #13
Alexei Svitkine (slow)
LGTM, thanks! Maybe mention it's for breadcrumbs in the CL description too.
4 years ago (2016-11-28 16:23:41 UTC) #14
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/2534643002/20001
4 years ago (2016-11-28 21:34:28 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-29 00:10:33 UTC) #20
commit-bot: I haz the power
4 years ago (2016-11-29 00:12:52 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1010504cb3b08b97f97e08398833e9db59eceb20
Cr-Commit-Position: refs/heads/master@{#434788}

Powered by Google App Engine
This is Rietveld 408576698