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

Issue 2424393002: Constrain the zone segment pool size (Closed)

Created:
4 years, 2 months ago by heimbuef
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Constrain the zone segment pool size Added a size constraint to the configuration to limit the segment pool. This will likely fix the memory alerts from small android devices. BUG=chromium:655129 Committed: https://crrev.com/ef690ca387c116569a2f5dbd71c6f0733a070cc6 Cr-Commit-Position: refs/heads/master@{#40476}

Patch Set 1 : Making Windows happy #

Patch Set 2 : Fixed overflow #

Patch Set 3 : Fixed overflow #

Total comments: 2

Patch Set 4 : Used proper constants and categories #

Total comments: 1

Patch Set 5 : Addressed comment #

Patch Set 6 : Fixing full size calculation #

Total comments: 9

Patch Set 7 : Added unittest for segment pool size constraints #

Total comments: 6

Patch Set 8 : Reaction to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -21 lines) Patch
M include/v8.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 3 chunks +12 lines, -2 lines 0 comments Download
M src/zone/accounting-allocator.h View 1 2 3 4 5 6 7 3 chunks +21 lines, -6 lines 0 comments Download
M src/zone/accounting-allocator.cc View 1 2 3 4 5 6 7 chunks +45 lines, -13 lines 0 comments Download
M test/unittests/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A test/unittests/zone/segmentpool-unittest.cc View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (29 generated)
heimbuef
PTAL
4 years, 2 months ago (2016-10-18 11:58:14 UTC) #8
Michael Lippautz
Fine with me if you use existing classes for ResourceConstraints. +jochen,toon since I have not ...
4 years, 2 months ago (2016-10-18 14:50:22 UTC) #19
heimbuef
On 2016/10/18 at 14:50:22, mlippautz wrote: > Fine with me if you use existing classes ...
4 years, 2 months ago (2016-10-18 15:05:25 UTC) #20
Michael Lippautz
lgtm once comment is addressed. Please also get one of the others to look. https://codereview.chromium.org/2424393002/diff/80001/src/api.cc ...
4 years, 2 months ago (2016-10-19 08:56:06 UTC) #22
heimbuef
On 2016/10/19 at 08:56:06, mlippautz wrote: > lgtm once comment is addressed. > > Please ...
4 years, 2 months ago (2016-10-19 09:12:54 UTC) #23
jochen (gone - plz use gerrit)
it's unclear to me how ConfigureSegmentPool is supposed to keep the pool size below a ...
4 years, 2 months ago (2016-10-19 14:18:32 UTC) #28
heimbuef
On 2016/10/19 at 14:18:32, jochen wrote: > it's unclear to me how ConfigureSegmentPool is supposed ...
4 years, 2 months ago (2016-10-20 08:47:30 UTC) #29
jochen (gone - plz use gerrit)
lgtm with comments https://codereview.chromium.org/2424393002/diff/140001/src/zone/accounting-allocator.h File src/zone/accounting-allocator.h (right): https://codereview.chromium.org/2424393002/diff/140001/src/zone/accounting-allocator.h#newcode90 src/zone/accounting-allocator.h:90: friend class SegmentPoolTests; add #include "testing/gtest/include/gtest/gtest_prod.h" ...
4 years, 2 months ago (2016-10-20 10:29:34 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2424393002/160001
4 years, 2 months ago (2016-10-20 14:16:40 UTC) #37
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 2 months ago (2016-10-20 14:48:19 UTC) #38
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:08:28 UTC) #40
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ef690ca387c116569a2f5dbd71c6f0733a070cc6
Cr-Commit-Position: refs/heads/master@{#40476}

Powered by Google App Engine
This is Rietveld 408576698