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

Issue 2534613002: [ic] Use validity cells to protect keyed element stores against object's prototype chain modificati… (Closed)

Created:
4 years ago by Igor Sheludko
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] Use validity cells to protect keyed element stores against object's prototype chain modifications. ... instead of clearing of all the KeyedStoreICs which didn't always work. BUG=chromium:662907, chromium:669411, v8:5561 TBR=verwaest@chromium.org, bmeurer@chromium.org Committed: https://crrev.com/a39522f44f7e0be4686831688917e9675255dcaf Committed: https://crrev.com/39e6f2ca4a2bdc39bd0291db944f0728bd527c5c Cr-Original-Commit-Position: refs/heads/master@{#41332} Cr-Commit-Position: refs/heads/master@{#41449}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing comments #

Patch Set 3 : Preparing for fixing and relanding: rebased PS2 #

Patch Set 4 : The fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -160 lines) Patch
M include/v8.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/ast/ast-types.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/builtins-array.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/types.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/elements.cc View 4 chunks +7 lines, -10 lines 0 comments Download
M src/factory.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/factory.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M src/ic/accessor-assembler.cc View 1 2 3 5 chunks +71 lines, -14 lines 1 comment Download
M src/ic/accessor-assembler-impl.h View 2 chunks +7 lines, -4 lines 0 comments Download
M src/ic/ic.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ic/ic.cc View 5 chunks +5 lines, -6 lines 0 comments Download
M src/ic/ic-compiler.h View 1 chunk +4 lines, -4 lines 0 comments Download
M src/ic/ic-compiler.cc View 1 2 3 6 chunks +28 lines, -17 lines 0 comments Download
M src/ic/ic-inl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/lookup.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M src/objects.h View 1 2 6 chunks +28 lines, -8 lines 0 comments Download
M src/objects.cc View 1 2 11 chunks +18 lines, -29 lines 0 comments Download
M src/objects-debug.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/objects-printer.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/type-feedback-vector.h View 2 chunks +1 line, -4 lines 0 comments Download
M src/type-feedback-vector.cc View 3 chunks +9 lines, -47 lines 0 comments Download
M src/value-serializer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-662907.js View 1 chunk +53 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-669411.js View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (30 generated)
Igor Sheludko
PTAL
4 years ago (2016-11-28 11:04:01 UTC) #12
Jakob Kummerow
LGTM with two nits and an appreciation :-) https://codereview.chromium.org/2534613002/diff/20001/src/ic/accessor-assembler.cc File src/ic/accessor-assembler.cc (right): https://codereview.chromium.org/2534613002/diff/20001/src/ic/accessor-assembler.cc#newcode1561 src/ic/accessor-assembler.cc:1561: // ...
4 years ago (2016-11-28 18:48:05 UTC) #13
Igor Sheludko
https://codereview.chromium.org/2534613002/diff/20001/src/ic/accessor-assembler.cc File src/ic/accessor-assembler.cc (right): https://codereview.chromium.org/2534613002/diff/20001/src/ic/accessor-assembler.cc#newcode1561 src/ic/accessor-assembler.cc:1561: // HandleStoreICElementHandlerCase(p, handler, miss); On 2016/11/28 18:48:05, Jakob Kummerow ...
4 years ago (2016-11-28 22:25:54 UTC) #14
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/2534613002/40001
4 years ago (2016-11-28 22:26:08 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/29514)
4 years ago (2016-11-28 22:29:18 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/2534613002/40001
4 years ago (2016-11-28 22:33:16 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years ago (2016-11-28 22:56:40 UTC) #25
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/a39522f44f7e0be4686831688917e9675255dcaf Cr-Commit-Position: refs/heads/master@{#41332}
4 years ago (2016-11-28 22:57:01 UTC) #27
Michael Achenbach
A revert of this CL (patchset #2 id:40001) has been created in https://codereview.chromium.org/2538693002/ by machenbach@chromium.org. ...
4 years ago (2016-11-29 08:49:00 UTC) #28
mvstanton
Huge thanks on this one! :D Good luck on the layout test issue... :p
4 years ago (2016-11-30 13:44:21 UTC) #30
Igor Sheludko
PTAL again. https://codereview.chromium.org/2534613002/diff/100001/src/ic/accessor-assembler.cc File src/ic/accessor-assembler.cc (right): https://codereview.chromium.org/2534613002/diff/100001/src/ic/accessor-assembler.cc#newcode498 src/ic/accessor-assembler.cc:498: Branch(IsCodeMap(handler_map), &call_handler, &if_proto_handler); StoreIC still supports code ...
4 years ago (2016-12-02 09:32:36 UTC) #37
Jakob Kummerow
Patch set 4 LGTM.
4 years ago (2016-12-02 09:59:54 UTC) #38
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/2534613002/100001
4 years ago (2016-12-02 10:00:32 UTC) #40
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years ago (2016-12-02 10:03:24 UTC) #43
commit-bot: I haz the power
4 years ago (2016-12-02 10:03:39 UTC) #45
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/39e6f2ca4a2bdc39bd0291db944f0728bd527c5c
Cr-Commit-Position: refs/heads/master@{#41449}

Powered by Google App Engine
This is Rietveld 408576698