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

Issue 1092043002: Protect the emptiness of Array prototype elements with a PropertyCell. (Closed)

Created:
5 years, 8 months ago by mvstanton
Modified:
5 years, 8 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Protect the emptiness of Array prototype elements with a PropertyCell. Not just emptiness, but also a particular structure. BUG=v8:4044 LOG=N Committed: https://crrev.com/b6f075f0010df31acac38c1857dd4e474d5c8ca4 Cr-Commit-Position: refs/heads/master@{#27993}

Patch Set 1 #

Patch Set 2 : Different approach. #

Patch Set 3 : Passing tests. #

Patch Set 4 : More fixes. #

Total comments: 8

Patch Set 5 : Use CHECK, not DCHECK. #

Patch Set 6 : Nits and test failure. #

Total comments: 2

Patch Set 7 : Try again :p. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -29 lines) Patch
M src/builtins.cc View 1 2 3 2 chunks +16 lines, -2 lines 0 comments Download
M src/compilation-dependencies.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M src/heap/heap.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/hydrogen.h View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M src/isolate.h View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 5 6 1 chunk +69 lines, -7 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 chunks +20 lines, -7 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 1 chunk +46 lines, -0 lines 0 comments Download
M test/mjsunit/concurrent-initial-prototype-change.js View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
A + test/mjsunit/elide-double-hole-check-12.js View 1 2 3 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
mvstanton
Hi Jakob, would you have a look at this follow-on CL? This expands the empty ...
5 years, 8 months ago (2015-04-21 14:33:41 UTC) #2
Jakob Kummerow
LGTM with nits. https://codereview.chromium.org/1092043002/diff/60001/src/isolate.h File src/isolate.h (right): https://codereview.chromium.org/1092043002/diff/60001/src/isolate.h#newcode1023 src/isolate.h:1023: void MaintainArrayProtectorOnSetElement(Handle<JSObject> object); naming nit: "Maintain" ...
5 years, 8 months ago (2015-04-21 15:41:49 UTC) #3
mvstanton
Thanks Jakob, addressed issues. And, a release mode test failure caused me to add a ...
5 years, 8 months ago (2015-04-22 07:22:33 UTC) #4
Jakob Kummerow
Still LGTM. Adding --nostress-opt to that test is fine. https://codereview.chromium.org/1092043002/diff/100001/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/1092043002/diff/100001/src/isolate.cc#newcode2440 src/isolate.cc:2440: ...
5 years, 8 months ago (2015-04-22 08:02:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1092043002/120001
5 years, 8 months ago (2015-04-22 08:20:51 UTC) #8
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 8 months ago (2015-04-22 08:50:36 UTC) #9
mvstanton
thx! https://codereview.chromium.org/1092043002/diff/100001/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/1092043002/diff/100001/src/isolate.cc#newcode2440 src/isolate.cc:2440: PrintF("INVALIDATING YOU!!!\n"); On 2015/04/22 08:02:20, Jakob wrote: > ...
5 years, 8 months ago (2015-04-22 09:39:07 UTC) #10
mvstanton
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1099203004/ by mvstanton@chromium.org. ...
5 years, 8 months ago (2015-04-22 09:56:18 UTC) #11
commit-bot: I haz the power
5 years, 8 months ago (2015-04-22 13:19:08 UTC) #12
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b6f075f0010df31acac38c1857dd4e474d5c8ca4
Cr-Commit-Position: refs/heads/master@{#27993}

Powered by Google App Engine
This is Rietveld 408576698