Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(42)

Issue 1195543005: PartitionAlloc: fixes and improvements to large-chunk size tracking. (Closed)

Created:
4 years, 10 months ago by Chris Evans
Modified:
4 years, 10 months ago
Reviewers:
haraken
CC:
blink-reviews, Mads Ager (chromium), oilpan-reviews, haraken, blink-reviews-wtf_chromium.org, kouhei+heap_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

PartitionAlloc: fixes an improvements to large-chunk size tracking. - Fix a bug where the size for a chunk wasn't being updated correctly. - Use accurate allocation size, if known, for more accurate cookie placement in debug. This results in strong out-of-bounds write detection. - Track accurate allocation size for direct mapped chunks, with the same cookie benefits. - Tighten up ASSERTing in this area. BUG=501878 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197520

Patch Set 1 #

Patch Set 2 : Merge conflict. #

Total comments: 4

Patch Set 3 : Review feedback. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -72 lines) Patch
M Source/wtf/PartitionAlloc.h View 1 7 chunks +66 lines, -21 lines 0 comments Download
M Source/wtf/PartitionAlloc.cpp View 1 2 8 chunks +36 lines, -49 lines 1 comment Download
M Source/wtf/PartitionAllocTest.cpp View 1 3 chunks +28 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Chris Evans
4 years, 10 months ago (2015-06-18 21:39:07 UTC) #2
haraken
LGTM https://codereview.chromium.org/1195543005/diff/20001/Source/wtf/PartitionAlloc.cpp File Source/wtf/PartitionAlloc.cpp (right): https://codereview.chromium.org/1195543005/diff/20001/Source/wtf/PartitionAlloc.cpp#newcode622 Source/wtf/PartitionAlloc.cpp:622: static ALWAYS_INLINE void* partitionDirectMap(PartitionRootBase* root, int flags, size_t ...
4 years, 10 months ago (2015-06-19 12:48:17 UTC) #3
Chris Evans
On 2015/06/19 12:48:17, haraken wrote: > LGTM > > https://codereview.chromium.org/1195543005/diff/20001/Source/wtf/PartitionAlloc.cpp > File Source/wtf/PartitionAlloc.cpp (right): > ...
4 years, 10 months ago (2015-06-19 21:13:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195543005/40001
4 years, 10 months ago (2015-06-19 21:13:25 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/67530)
4 years, 10 months ago (2015-06-19 23:00:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195543005/40001
4 years, 10 months ago (2015-06-19 23:07:02 UTC) #11
haraken
https://codereview.chromium.org/1195543005/diff/40001/Source/wtf/PartitionAlloc.cpp File Source/wtf/PartitionAlloc.cpp (right): https://codereview.chromium.org/1195543005/diff/40001/Source/wtf/PartitionAlloc.cpp#newcode912 Source/wtf/PartitionAlloc.cpp:912: // page as having a single unprovisioned slot. Thanks, ...
4 years, 10 months ago (2015-06-20 00:03:09 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2015-06-20 02:38:00 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197520

Powered by Google App Engine
This is Rietveld 408576698