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

Issue 2126613002: making heap verification more aggressive (Closed)

Created:
4 years, 5 months ago by Camillo Bruni
Modified:
4 years, 5 months ago
Reviewers:
Igor Sheludko, ulan
CC:
Hannes Payer (out of office), ulan, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[runtime] making heap verification more aggressive - check that packed elements do not contain the_hole (with fix) - verify argument objects with elements kind - use JSObjectVerifiy in all JSObject "subclasses" - change initialization order for ArrayLiteralBoilerplate to simplify verification BUG=v8:5188 Committed: https://crrev.com/599aa2e106ca8ab79f5cc489d1b93b6a26b19714 Cr-Commit-Position: refs/heads/master@{#37680}

Patch Set 1 #

Patch Set 2 : temporarily reducing verification strength #

Total comments: 23

Patch Set 3 : better switch case #

Patch Set 4 : more reluctant test for parameter_map #

Patch Set 5 : adding more arguments object verification #

Total comments: 4

Patch Set 6 : addressing nits #

Patch Set 7 : adding additional validation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -136 lines) Patch
M src/factory.cc View 1 2 3 4 5 1 chunk +20 lines, -10 lines 0 comments Download
M src/heap/heap.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 4 chunks +8 lines, -0 lines 0 comments Download
M src/objects-debug.cc View 1 2 3 4 5 6 14 chunks +226 lines, -68 lines 0 comments Download
M src/objects-inl.h View 5 chunks +6 lines, -28 lines 0 comments Download
M src/runtime/runtime-literals.cc View 2 chunks +8 lines, -22 lines 0 comments Download
M src/runtime/runtime-regexp.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-undefined-nan.js View 2 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2126613002/20001
4 years, 5 months ago (2016-07-07 11:54:08 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nodcheck_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel_ng/builds/4570) v8_linux_nodcheck_rel_ng_triggered on ...
4 years, 5 months ago (2016-07-07 12:16:32 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2126613002/20001
4 years, 5 months ago (2016-07-07 15:53:08 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-07 16:21:50 UTC) #10
Camillo Bruni
ulan@ PTAL heap.* ishell@ PTAL the rest There will be follow-up CLs once I manage ...
4 years, 5 months ago (2016-07-07 17:49:54 UTC) #12
ulan
heap lgtm https://codereview.chromium.org/2126613002/diff/20001/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/2126613002/diff/20001/src/factory.cc#newcode1655 src/factory.cc:1655: default: case INITIALIZE_ARRAY_ELEMENTS_WITH_UNDEFINED: UNREACHABLE(); With enums it ...
4 years, 5 months ago (2016-07-08 06:19:40 UTC) #13
Igor Sheludko
https://codereview.chromium.org/2126613002/diff/20001/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/2126613002/diff/20001/src/factory.cc#newcode1668 src/factory.cc:1668: elms = NewFixedArray(capacity); I think it's better to have ...
4 years, 5 months ago (2016-07-08 08:38:23 UTC) #14
Camillo Bruni
ishell@ PTAL again, I changed the arguments validation quite a bit in the meantime... https://codereview.chromium.org/2126613002/diff/20001/src/factory.cc ...
4 years, 5 months ago (2016-07-11 11:46:39 UTC) #15
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/2126613002/diff/80001/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/2126613002/diff/80001/src/factory.cc#newcode1658 src/factory.cc:1658: UNREACHABLE(); break; https://codereview.chromium.org/2126613002/diff/80001/src/objects-debug.cc File src/objects-debug.cc (right): ...
4 years, 5 months ago (2016-07-11 15:37:10 UTC) #16
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/2126613002/120001
4 years, 5 months ago (2016-07-12 12:38:20 UTC) #19
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/2126613002/120001
4 years, 5 months ago (2016-07-12 13:27:55 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 5 months ago (2016-07-12 13:30:42 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-12 13:30:44 UTC) #24
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/599aa2e106ca8ab79f5cc489d1b93b6a26b19714 Cr-Commit-Position: refs/heads/master@{#37680}
4 years, 5 months ago (2016-07-12 13:32:08 UTC) #26
Camillo Bruni
4 years, 5 months ago (2016-07-12 14:04:04 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/2140163002/ by cbruni@chromium.org.

The reason for reverting is: failing gc stress tests:
https://build.chromium.org/p/client.v8/builders/V8%20Mac%20GC%20Stress/builds....

Powered by Google App Engine
This is Rietveld 408576698