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

Issue 2693753002: Revert of [typedarrays] move %TypedArray%.prototype.copyWithin to C++ (Closed)

Created:
3 years, 10 months ago by Dan Ehrenberg
Modified:
3 years, 10 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Revert of [typedarrays] move %TypedArray%.prototype.copyWithin to C++ (patchset #6 id:100001 of https://codereview.chromium.org/2671233002/ ) Reason for revert: Due to security issue described in review thread. Original issue's description: > [typedarrays] move %TypedArray%.prototype.copyWithin to C++ > > - Removes shared InnerArrayCopyWithin JS builtin from src/js/array.js > - Implements %TypedArray%.prototype.copyWithin as a C++ builtin, which > relies on std::memmove rather than accessing individual eleements. > - Fixes the case where copyWithin is invoked on a TypedArray with a > detached buffer. > - Add tests to ensure that +/-Infinity (for all 3 parameters) is handled correctly by the > algorithm > > The C++ version gets through the benchmark more than 25000 times as > quickly as the JS implementation. > > BUG=v8:5925, v8:5929, v8:4648 > R=cbruni@chromium.org, adamk@chromium.org, littledan@chromium.org > > Review-Url: https://codereview.chromium.org/2671233002 > Cr-Commit-Position: refs/heads/master@{#42975} > Committed: https://chromium.googlesource.com/v8/v8/+/0f1c626d556cbf84b0e572635eb803729f88cbb3 TBR=cbruni@chromium.org,adamk@chromium.org,bmeurer@chromium.org,cwhan.tunz@gmail.com,caitp@igalia.com # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=v8:5925, v8:5929, v8:4648 Review-Url: https://codereview.chromium.org/2693753002 Cr-Commit-Position: refs/heads/master@{#43132} Committed: https://chromium.googlesource.com/v8/v8/+/4530f0dc0c27233b05f852c29a6462ab67cbbad2

Patch Set 1 #

Patch Set 2 : Fix merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -158 lines) Patch
M src/bootstrapper.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M src/builtins/builtins.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M src/builtins/builtins-typedarray.cc View 1 1 chunk +0 lines, -90 lines 0 comments Download
M src/js/array.js View 1 3 chunks +13 lines, -7 lines 0 comments Download
M src/js/typedarray.js View 1 4 chunks +14 lines, -0 lines 0 comments Download
M test/mjsunit/es6/typedarray-copywithin.js View 1 1 chunk +0 lines, -54 lines 0 comments Download
M test/test262/test262.status View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
Dan Ehrenberg
Created Revert of [typedarrays] move %TypedArray%.prototype.copyWithin to C++
3 years, 10 months ago (2017-02-12 16:08:27 UTC) #2
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/2693753002/1
3 years, 10 months ago (2017-02-12 16:08:31 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel_ng/builds/16570) v8_linux_gcc_compile_rel on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-12 16:09:40 UTC) #5
caitp
On 2017/02/12 16:09:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 10 months ago (2017-02-12 17:06:00 UTC) #6
Dan Ehrenberg
On 2017/02/12 17:06:00, caitp wrote: > On 2017/02/12 16:09:40, commit-bot: I haz the power wrote: ...
3 years, 10 months ago (2017-02-12 18:59:50 UTC) #9
caitp
On 2017/02/12 18:59:50, Dan Ehrenberg wrote: > On 2017/02/12 17:06:00, caitp wrote: > > On ...
3 years, 10 months ago (2017-02-12 20:38:20 UTC) #12
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/2693753002/190001
3 years, 10 months ago (2017-02-12 21:14:41 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-12 21:16:27 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:190001) as
https://chromium.googlesource.com/v8/v8/+/4530f0dc0c27233b05f852c29a6462ab67c...

Powered by Google App Engine
This is Rietveld 408576698