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

Issue 1622553004: PartitionAlloc: Increase the number of pages per bucket (Closed)

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

Description

PartitionAlloc: Increase the number of pages per bucket Currently the number of pages per bucket is limited to 2^16, and this has caused a bunch of crash reports at partitionBucketFull(). This CL increase the limit to 2^24 instead of decreasing the limit of |numSystemPagesPerSlotSpan| to 2^8 (It is statically guaranteed that |numSystemPagesPerSlotSpan| does not exceed 2^8). As a result, this CL doesn't change sizeof(PartitionBucket). BUG=87772 Committed: https://crrev.com/63f7a4e7c4255204a90569f7ace2d3aeddcea22e Cr-Commit-Position: refs/heads/master@{#371745}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -39 lines) Patch
M chrome/browser/push_messaging/push_messaging_browsertest.cc View 1 2 3 4 5 6 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/test/data/push_messaging/service_worker.js View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/push_messaging/resources/pushmessagedata-worker.js View 1 2 3 4 5 6 1 chunk +3 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushEvent.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushMessageData.h View 1 2 3 4 5 6 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushMessageData.cpp View 1 2 3 4 5 6 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/Platform.cpp View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (15 generated)
haraken
PTAL In terms of memory, I'm pretty sure that this CL won't regress anything. The ...
4 years, 11 months ago (2016-01-22 18:42:08 UTC) #3
haraken
It looks like I need to fix crashes in the bots.
4 years, 11 months ago (2016-01-22 23:03:43 UTC) #4
haraken
OK, I invented a better idea that doesn't increase sizeof(PartitionBucket) :) PTAL at PS2.
4 years, 11 months ago (2016-01-25 05:32:31 UTC) #6
haraken
On 2016/01/25 05:32:31, haraken wrote: > OK, I invented a better idea that doesn't increase ...
4 years, 11 months ago (2016-01-25 05:32:48 UTC) #7
tyoshino (SeeGerritForStatus)
With PS3 applied, Chrome doesn't crash for the test case by wyantb ( http://code.google.com/p/chromium/issues/detail?id=87772#c60 ).
4 years, 11 months ago (2016-01-25 05:42:20 UTC) #8
bashi
LGTM with nits https://codereview.chromium.org/1622553004/diff/40001/third_party/WebKit/Source/wtf/PartitionAlloc.cpp File third_party/WebKit/Source/wtf/PartitionAlloc.cpp (right): https://codereview.chromium.org/1622553004/diff/40001/third_party/WebKit/Source/wtf/PartitionAlloc.cpp#newcode82 third_party/WebKit/Source/wtf/PartitionAlloc.cpp:82: RELEASE_ASSERT(bestPages < (1 << 8)); RELEASE_ASSERT(bestPages ...
4 years, 11 months ago (2016-01-26 23:52:38 UTC) #9
haraken
Thanks for the review! https://codereview.chromium.org/1622553004/diff/40001/third_party/WebKit/Source/wtf/PartitionAlloc.cpp File third_party/WebKit/Source/wtf/PartitionAlloc.cpp (right): https://codereview.chromium.org/1622553004/diff/40001/third_party/WebKit/Source/wtf/PartitionAlloc.cpp#newcode82 third_party/WebKit/Source/wtf/PartitionAlloc.cpp:82: RELEASE_ASSERT(bestPages < (1 << 8)); ...
4 years, 11 months ago (2016-01-27 01:19:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1622553004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1622553004/40001
4 years, 11 months ago (2016-01-27 01:22:22 UTC) #12
bashi
https://codereview.chromium.org/1622553004/diff/40001/third_party/WebKit/Source/wtf/PartitionAlloc.cpp File third_party/WebKit/Source/wtf/PartitionAlloc.cpp (right): https://codereview.chromium.org/1622553004/diff/40001/third_party/WebKit/Source/wtf/PartitionAlloc.cpp#newcode82 third_party/WebKit/Source/wtf/PartitionAlloc.cpp:82: RELEASE_ASSERT(bestPages < (1 << 8)); On 2016/01/27 01:19:32, haraken ...
4 years, 11 months ago (2016-01-27 01:34:07 UTC) #13
haraken
On 2016/01/27 01:34:07, bashi1 wrote: > https://codereview.chromium.org/1622553004/diff/40001/third_party/WebKit/Source/wtf/PartitionAlloc.cpp > File third_party/WebKit/Source/wtf/PartitionAlloc.cpp (right): > > https://codereview.chromium.org/1622553004/diff/40001/third_party/WebKit/Source/wtf/PartitionAlloc.cpp#newcode82 > ...
4 years, 11 months ago (2016-01-27 01:38:58 UTC) #15
haraken
On 2016/01/27 01:38:58, haraken wrote: > On 2016/01/27 01:34:07, bashi1 wrote: > > > https://codereview.chromium.org/1622553004/diff/40001/third_party/WebKit/Source/wtf/PartitionAlloc.cpp ...
4 years, 11 months ago (2016-01-27 01:39:11 UTC) #16
bashi
On 2016/01/27 01:39:11, haraken wrote: > On 2016/01/27 01:38:58, haraken wrote: > > On 2016/01/27 ...
4 years, 11 months ago (2016-01-27 02:03:47 UTC) #17
haraken
On 2016/01/27 02:03:47, bashi1 wrote: > On 2016/01/27 01:39:11, haraken wrote: > > On 2016/01/27 ...
4 years, 11 months ago (2016-01-27 02:08:28 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1622553004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1622553004/60001
4 years, 11 months ago (2016-01-27 02:08:43 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/13332) chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 11 months ago (2016-01-27 02:21:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1622553004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1622553004/80001
4 years, 11 months ago (2016-01-27 02:30:44 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/116537) win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, ...
4 years, 11 months ago (2016-01-27 03:23:23 UTC) #28
haraken
Updated the assertions a bit more.
4 years, 11 months ago (2016-01-27 04:28:00 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1622553004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1622553004/100001
4 years, 11 months ago (2016-01-27 04:28:22 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 11 months ago (2016-01-27 05:56:00 UTC) #34
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 05:56:49 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/63f7a4e7c4255204a90569f7ace2d3aeddcea22e
Cr-Commit-Position: refs/heads/master@{#371745}

Powered by Google App Engine
This is Rietveld 408576698