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

Issue 2544503002: [typedarrays] remove invalid optimization in NAMEConstructor() (Closed)

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

Description

[typedarrays] remove invalid optimization in NAMEConstructor() Before, we were treating objects with the builtin ArrayValues iterator method as array-like, where the iterator would iterate through to the full length of the object. This optimization was not sound, because it does not ensure that the next method hasn't been modified. Even if it hasn't been modified, it's entirely possible to be modified during iteration. Thus, this optimization has been removed due to its observability. BUG=v8:5699 R=littledan@chromium.org, cbruni@chromium.org Committed: https://crrev.com/77df8c67d9609ada3b7d79e8e6d33f198bbad5a1 Cr-Commit-Position: refs/heads/master@{#41394}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -1 line) Patch
M src/js/typedarray.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/es6/typedarray.js View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
caitp
PTAL. hopefully we can depend on ArrayIterator optimizations to make this optimization less worthwhile than ...
4 years ago (2016-11-30 15:00:04 UTC) #3
Camillo Bruni
LGTM What's actually the performance impact of this? just curious.
4 years ago (2016-11-30 16:02:28 UTC) #6
caitp
On 2016/11/30 16:02:28, Camillo Bruni wrote: > LGTM > > What's actually the performance impact ...
4 years ago (2016-11-30 16:15:51 UTC) #7
Camillo Bruni
On 2016/11/30 at 16:15:51, caitp wrote: > On 2016/11/30 16:02:28, Camillo Bruni wrote: > > ...
4 years ago (2016-11-30 16:25:20 UTC) #8
caitp
On 2016/11/30 16:25:20, Camillo Bruni wrote: > On 2016/11/30 at 16:15:51, caitp wrote: > > ...
4 years ago (2016-11-30 17:10:55 UTC) #9
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/2544503002/1
4 years ago (2016-11-30 17:11:04 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-30 17:13:04 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/77df8c67d9609ada3b7d79e8e6d33f198bbad5a1 Cr-Commit-Position: refs/heads/master@{#41394}
4 years ago (2016-11-30 17:13:38 UTC) #15
enne (OOO)
4 years ago (2016-12-01 22:15:15 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2548583003/ by enne@chromium.org.

The reason for reverting is: Speculative revert for causing timeouts on Win
Debug gpu fyi bot

Nothing else looks even remotely relevant in the list of changes.
Will reland if this doesn't fix the issues.

BUG=670396.

Powered by Google App Engine
This is Rietveld 408576698