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

Issue 1201303002: PartitionAlloc: improve clarity of page state checks. (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, 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: improve clarity of page state checks. No functional changes. This CL introduces functions to check for the four different page stages, and uses them consistently. It improves code clarity and tightens ASSERTing a little. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197701

Patch Set 1 #

Total comments: 3

Patch Set 2 : Review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -34 lines) Patch
M Source/wtf/PartitionAlloc.cpp View 1 11 chunks +53 lines, -34 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Chris Evans
4 years, 10 months ago (2015-06-23 20:31:34 UTC) #2
haraken
LGTM https://codereview.chromium.org/1201303002/diff/1/Source/wtf/PartitionAlloc.cpp File Source/wtf/PartitionAlloc.cpp (right): https://codereview.chromium.org/1201303002/diff/1/Source/wtf/PartitionAlloc.cpp#newcode328 Source/wtf/PartitionAlloc.cpp:328: return (page->numAllocatedSlots && (page->freelistHead || page->numUnprovisionedSlots)); page->numAllocatedSlots => ...
4 years, 10 months ago (2015-06-24 00:51:52 UTC) #3
Chris Evans
On 2015/06/24 00:51:52, haraken wrote: > LGTM > > https://codereview.chromium.org/1201303002/diff/1/Source/wtf/PartitionAlloc.cpp > File Source/wtf/PartitionAlloc.cpp (right): > ...
4 years, 10 months ago (2015-06-24 02:56:53 UTC) #4
Chris Evans
On 2015/06/24 02:56:53, Chris Evans wrote: > On 2015/06/24 00:51:52, haraken wrote: > > LGTM ...
4 years, 10 months ago (2015-06-24 03:05:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1201303002/20001
4 years, 10 months ago (2015-06-24 03:08:50 UTC) #10
haraken
On 2015/06/24 03:05:20, Chris Evans wrote: > On 2015/06/24 02:56:53, Chris Evans wrote: > > ...
4 years, 10 months ago (2015-06-24 03:21:58 UTC) #11
commit-bot: I haz the power
4 years, 10 months ago (2015-06-24 04:30:14 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197701

Powered by Google App Engine
This is Rietveld 408576698