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

Issue 649583004: PartitionAlloc: Count direct mapped pages as committed (Closed)

Created:
6 years, 2 months ago by Jens Widell
Modified:
6 years, 2 months ago
Reviewers:
Tom Sepez, Chris Evans
CC:
blink-reviews, mkwst+moarreviews_chromium.org, blink-reviews-wtf_chromium.org, aandrey+blink_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

PartitionAlloc: Count direct mapped pages as committed Extend committed pages counting to direct mapped allocations as well. We already did adjust the total committed pages size when reallocating a direct mapped allocation to reflect the difference, but since we didn't do any counting when initially mapping or when unmapping, this would just result in accounting errors. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184169

Patch Set 1 #

Total comments: 4

Patch Set 2 : restrict to fix direct map accounting #

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

Messages

Total messages: 21 (4 generated)
Jens Widell
PTAL Changed as discussed in issue 636213002. This makes partitionFull() less likely to occur on ...
6 years, 2 months ago (2014-10-14 10:54:58 UTC) #2
Chris Evans
Hmm. I'm actually leaning to just getting rid of the "partitionFull" concept. I can't think ...
6 years, 2 months ago (2014-10-15 22:06:17 UTC) #3
Tom Sepez
On 2014/10/15 22:06:17, Chris Evans wrote: > Hmm. I'm actually leaning to just getting rid ...
6 years, 2 months ago (2014-10-15 22:07:33 UTC) #4
Tom Sepez
Hold it. What about blink strings overflowing when there are more that 2GB of empty ...
6 years, 2 months ago (2014-10-15 22:15:43 UTC) #5
Chris Evans
On 2014/10/15 22:15:43, Tom Sepez wrote: > Hold it. What about blink strings overflowing when ...
6 years, 2 months ago (2014-10-15 22:22:25 UTC) #6
Tom Sepez
> How many bits of refcount got swiped? I'm looking and not finding. Lemme ping ...
6 years, 2 months ago (2014-10-15 22:31:16 UTC) #7
Tom Sepez
Per abarth, it was StringImpl, but we fixed the crazy. So we're good.
6 years, 2 months ago (2014-10-15 23:13:37 UTC) #8
Jens Widell
I've reduced this CL to just fix committed pages counting for direct mapped allocations. I'll ...
6 years, 2 months ago (2014-10-16 11:09:53 UTC) #9
Jens Widell
On 2014/10/16 11:09:53, Jens Widell wrote: > I'll upload another CL that drops the partitionFull() ...
6 years, 2 months ago (2014-10-16 11:14:14 UTC) #10
hiroshige
> On 32-bit, we're probably about as likely to run out of > actual address ...
6 years, 2 months ago (2014-10-16 11:16:52 UTC) #11
Jens Widell
On 2014/10/16 11:16:52, hiroshige wrote: > > On 32-bit, we're probably about as likely to ...
6 years, 2 months ago (2014-10-16 11:20:51 UTC) #12
Chris Evans
LGTM Thanks for bringing this inconsistency into line. --- It occurs to me that we ...
6 years, 2 months ago (2014-10-16 22:23:02 UTC) #13
Jens Widell
On 2014/10/16 22:23:02, Chris Evans wrote: > LGTM > > Thanks for bringing this inconsistency ...
6 years, 2 months ago (2014-10-21 09:59:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/649583004/20001
6 years, 2 months ago (2014-10-22 06:51:46 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/32977)
6 years, 2 months ago (2014-10-22 07:30:49 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/649583004/20001
6 years, 2 months ago (2014-10-22 09:23:28 UTC) #20
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 11:17:44 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 184169

Powered by Google App Engine
This is Rietveld 408576698