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

Issue 2258583002: Reimplement AllocateNearTo for 64bit. (Closed)

Created:
4 years, 4 months ago by forshaw
Modified:
4 years, 4 months ago
Reviewers:
Will Harris
CC:
chromium-reviews, wfh+watch_chromium.org, pennymac+watch_chromium.org, rickyz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reimplement AllocateNearTo for 64bit. This CL reimplements AllocateNearTo on 64bit so that it searches for a free memory range rather than the naive brute force approach we used before. BUG=604149 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Committed: https://crrev.com/07bf777cebc18782eb83b2a5eda89110d9e58274 Cr-Commit-Position: refs/heads/master@{#413344}

Patch Set 1 #

Patch Set 2 : Added unittests #

Total comments: 3

Patch Set 3 : Better comments and used standard types #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -45 lines) Patch
M sandbox/win/src/sandbox_nt_util.cc View 1 2 1 chunk +54 lines, -45 lines 0 comments Download
M sandbox/win/src/sandbox_nt_util_unittest.cc View 1 2 2 chunks +148 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
elawrence
This fix is effective on the machine exhibiting bug #604149.
4 years, 4 months ago (2016-08-17 21:13:47 UTC) #4
forshaw
PTAL
4 years, 4 months ago (2016-08-18 12:52:24 UTC) #5
Will Harris
https://codereview.chromium.org/2258583002/diff/20001/sandbox/win/src/sandbox_nt_util_unittest.cc File sandbox/win/src/sandbox_nt_util_unittest.cc (right): https://codereview.chromium.org/2258583002/diff/20001/sandbox/win/src/sandbox_nt_util_unittest.cc#newcode167 sandbox/win/src/sandbox_nt_util_unittest.cc:167: // Test nearest allocator, only do this for 64 ...
4 years, 4 months ago (2016-08-18 17:42:22 UTC) #6
forshaw
On 2016/08/18 17:42:22, Will Harris wrote: > https://codereview.chromium.org/2258583002/diff/20001/sandbox/win/src/sandbox_nt_util_unittest.cc > File sandbox/win/src/sandbox_nt_util_unittest.cc (right): > > https://codereview.chromium.org/2258583002/diff/20001/sandbox/win/src/sandbox_nt_util_unittest.cc#newcode167 ...
4 years, 4 months ago (2016-08-18 18:02:21 UTC) #7
Will Harris
lgtm % nits https://codereview.chromium.org/2258583002/diff/20001/sandbox/win/src/sandbox_nt_util.cc File sandbox/win/src/sandbox_nt_util.cc (right): https://codereview.chromium.org/2258583002/diff/20001/sandbox/win/src/sandbox_nt_util.cc#newcode26 sandbox/win/src/sandbox_nt_util.cc:26: inline char* AlignToBoundary(void* ptr, size_t increment) ...
4 years, 4 months ago (2016-08-19 16:39:52 UTC) #8
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/2258583002/40001
4 years, 4 months ago (2016-08-20 17:15:28 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-20 18:26:03 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-20 18:27:23 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/07bf777cebc18782eb83b2a5eda89110d9e58274
Cr-Commit-Position: refs/heads/master@{#413344}

Powered by Google App Engine
This is Rietveld 408576698