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

Issue 254103003: PartitionAlloc: Make in-place realloc() less likely to happen (Closed)

Created:
6 years, 7 months ago by Jens Widell
Modified:
6 years, 7 months ago
CC:
blink-reviews, ojan, Mikhail, adamk+blink_chromium.org, Inactive, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

PartitionAlloc: Make in-place realloc() less likely to happen On direct mapped allocations, we support downsizing realloc() in-place. As part of trying to figure out what causes apparent OOM crashes, do this only in much more restricted circumstances: - Only down to 80 % of the size of the original mapping. - Only down to sizes larger than the maximum bucketed allocation size. BUG=368406 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172932

Patch Set 1 #

Total comments: 1

Patch Set 2 : extended test #

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

Messages

Total messages: 10 (0 generated)
Jens Widell
6 years, 7 months ago (2014-04-29 20:21:22 UTC) #1
Tom Sepez
LGTM. https://codereview.chromium.org/254103003/diff/1/Source/wtf/PartitionAllocTest.cpp File Source/wtf/PartitionAllocTest.cpp (right): https://codereview.chromium.org/254103003/diff/1/Source/wtf/PartitionAllocTest.cpp#newcode701 Source/wtf/PartitionAllocTest.cpp:701: EXPECT_EQ(actualSize - 8 * WTF::kSystemPageSize, partitionAllocGetSize(ptr2)); It would ...
6 years, 7 months ago (2014-04-29 20:27:01 UTC) #2
Jens Widell
On 2014/04/29 20:27:01, Tom Sepez wrote: > LGTM. > > https://codereview.chromium.org/254103003/diff/1/Source/wtf/PartitionAllocTest.cpp > File Source/wtf/PartitionAllocTest.cpp (right): ...
6 years, 7 months ago (2014-04-29 20:29:48 UTC) #3
Jens Widell
On 2014/04/29 20:29:48, Jens Lindström wrote: > On 2014/04/29 20:27:01, Tom Sepez wrote: > > ...
6 years, 7 months ago (2014-04-29 20:35:52 UTC) #4
Tom Sepez
> Patch updated. Excellent. Unfortunately, I'm not in wtf/OWNERS so we'll need eric's approval before ...
6 years, 7 months ago (2014-04-29 20:38:29 UTC) #5
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 7 months ago (2014-04-29 20:38:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/254103003/20001
6 years, 7 months ago (2014-04-29 20:39:49 UTC) #7
Jens Widell
On 2014/04/29 20:38:29, Tom Sepez wrote: > > Patch updated. > Excellent. Unfortunately, I'm not ...
6 years, 7 months ago (2014-04-29 20:43:21 UTC) #8
eseidel
lgtm Hopefully this helps.
6 years, 7 months ago (2014-04-29 20:45:35 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 04:56:26 UTC) #10
Message was sent while issue was closed.
Change committed as 172932

Powered by Google App Engine
This is Rietveld 408576698