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

Issue 1024823002: Fix OOM bug 3976. (Closed)

Created:
5 years, 9 months ago by Erik Corry Chromium.org
Modified:
5 years, 9 months ago
CC:
v8-dev
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix OOM bug 3976. Also introduce --trace-fragmentation-verbose, and fix --always-compact. R=ulan@chromium.org BUG=v8:3976 LOG=y Committed: https://crrev.com/4c806802b5e839e29e6febbd68163adda37f1ad7 Cr-Commit-Position: refs/heads/master@{#27414}

Patch Set 1 #

Patch Set 2 : Add test from bug #

Total comments: 7

Patch Set 3 : Reduce test size #

Patch Set 4 : Revert kMaxMax change, replace with warning #

Patch Set 5 : Switch to master branch! #

Patch Set 6 : Up heap limit on test #

Total comments: 2

Patch Set 7 : Fix assert to allow emergency allocations #

Patch Set 8 : Skip slow test on small devices #

Patch Set 9 : Fix signed/unsigned comparison #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -27 lines) Patch
M src/flag-definitions.h View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 12 chunks +29 lines, -8 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -2 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A + test/mjsunit/regress/regress-3976.js View 1 2 3 4 5 2 chunks +48 lines, -15 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
Erik Corry Chromium.org
5 years, 9 months ago (2015-03-20 10:22:14 UTC) #1
ulan
https://codereview.chromium.org/1024823002/diff/20001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1024823002/diff/20001/src/heap/mark-compact.cc#newcode648 src/heap/mark-compact.cc:648: static const int kMaxMaxEvacuationCandidates = 10000; Does this help? ...
5 years, 9 months ago (2015-03-20 10:56:54 UTC) #2
Erik Corry
https://codereview.chromium.org/1024823002/diff/20001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1024823002/diff/20001/src/heap/mark-compact.cc#newcode648 src/heap/mark-compact.cc:648: static const int kMaxMaxEvacuationCandidates = 10000; On 2015/03/20 10:56:53, ...
5 years, 9 months ago (2015-03-20 11:39:23 UTC) #4
ulan
lgtm!
5 years, 9 months ago (2015-03-20 11:43:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1024823002/60001
5 years, 9 months ago (2015-03-20 11:48:25 UTC) #8
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true in order for the CQ ...
5 years, 9 months ago (2015-03-20 11:48:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1024823002/100001
5 years, 9 months ago (2015-03-20 12:22:01 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel/builds/4148)
5 years, 9 months ago (2015-03-20 12:50:15 UTC) #15
Jakob Kummerow
DBC. Since this CL clearly targets a bug, it should have a proper BUG=v8:3976 line, ...
5 years, 9 months ago (2015-03-21 13:38:55 UTC) #17
Erik Corry Chromium.org
Had to modify an assert to allow emergency allocations, PTAL. https://codereview.chromium.org/1024823002/diff/100001/test/mjsunit/mjsunit.status File test/mjsunit/mjsunit.status (right): https://codereview.chromium.org/1024823002/diff/100001/test/mjsunit/mjsunit.status#newcode141 ...
5 years, 9 months ago (2015-03-24 12:44:22 UTC) #18
ulan
> Had to modify an assert to allow emergency allocations, PTAL. LGTM
5 years, 9 months ago (2015-03-24 12:49:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1024823002/140001
5 years, 9 months ago (2015-03-24 13:34:08 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_win64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel/builds/3215)
5 years, 9 months ago (2015-03-24 13:53:46 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1024823002/160001
5 years, 9 months ago (2015-03-24 14:29:22 UTC) #26
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 9 months ago (2015-03-24 15:02:27 UTC) #27
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 15:02:34 UTC) #28
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/4c806802b5e839e29e6febbd68163adda37f1ad7
Cr-Commit-Position: refs/heads/master@{#27414}

Powered by Google App Engine
This is Rietveld 408576698