Chromium Code Reviews

Issue 1493983004: [crankshaft] Loads and stores to typed arrays have to reference the backing store holder (Closed)

Created:
5 years ago by jochen (gone - plz use gerrit)
Modified:
5 years ago
Reviewers:
Benedikt Meurer, Jarin, Michael Starzinger
CC:
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

[crankshaft] Loads and stores to typed arrays have to reference the backing store holder The backing store is only held alive indirectly via the array buffer referenced by the holder (typed array), so it's not enough to keep the elements alive (or even just the external pointer loaded from the elements). R=mstarzinger@chromium.org,bmeurer@chromium.org LOG=n BUG=v8:1827 Committed: https://crrev.com/086d4598473fe25b6b8f802998d6e85e90625136 Cr-Commit-Position: refs/heads/master@{#32644}

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : updates #

Patch Set 4 : updates #

Total comments: 4

Patch Set 5 : updates #

Unified diffs Side-by-side diffs Stats (+332 lines, -202 lines)
M src/code-stubs-hydrogen.cc View 13 chunks +30 lines, -27 lines 0 comments
M src/crankshaft/arm/lithium-arm.h View 3 chunks +9 lines, -4 lines 0 comments
M src/crankshaft/arm/lithium-arm.cc View 4 chunks +7 lines, -4 lines 0 comments
M src/crankshaft/arm64/lithium-arm64.h View 9 chunks +24 lines, -18 lines 0 comments
M src/crankshaft/arm64/lithium-arm64.cc View 2 chunks +6 lines, -3 lines 0 comments
M src/crankshaft/hydrogen.h View 1 chunk +2 lines, -5 lines 0 comments
M src/crankshaft/hydrogen.cc View 37 chunks +82 lines, -74 lines 0 comments
M src/crankshaft/hydrogen-instructions.h View 12 chunks +46 lines, -16 lines 0 comments
M src/crankshaft/hydrogen-instructions.cc View 1 chunk +1 line, -1 line 0 comments
M src/crankshaft/ia32/lithium-ia32.h View 3 chunks +9 lines, -4 lines 0 comments
M src/crankshaft/ia32/lithium-ia32.cc View 5 chunks +8 lines, -5 lines 0 comments
M src/crankshaft/mips/lithium-mips.h View 3 chunks +9 lines, -4 lines 0 comments
M src/crankshaft/mips/lithium-mips.cc View 4 chunks +7 lines, -4 lines 0 comments
M src/crankshaft/mips64/lithium-mips64.h View 3 chunks +9 lines, -4 lines 0 comments
M src/crankshaft/mips64/lithium-mips64.cc View 4 chunks +7 lines, -4 lines 0 comments
M src/crankshaft/ppc/lithium-ppc.h View 3 chunks +9 lines, -4 lines 0 comments
M src/crankshaft/ppc/lithium-ppc.cc View 3 chunks +7 lines, -4 lines 0 comments
M src/crankshaft/x64/lithium-x64.h View 4 chunks +9 lines, -4 lines 0 comments
M src/crankshaft/x64/lithium-x64.cc View 4 chunks +7 lines, -4 lines 0 comments
M src/crankshaft/x87/lithium-x87.h View 3 chunks +9 lines, -4 lines 0 comments
M src/crankshaft/x87/lithium-x87.cc View 5 chunks +8 lines, -5 lines 0 comments
M test/mjsunit/mjsunit.status View 1 chunk +1 line, -0 lines 0 comments
A test/mjsunit/regress/typed-array-lifetime.js View 1 chunk +26 lines, -0 lines 0 comments

Messages

Total messages: 15 (8 generated)
jochen (gone - plz use gerrit)
5 years ago (2015-12-04 12:58:29 UTC) #1
Benedikt Meurer
As mentioned several times already, I'm really worried about the "lack of love" in our ...
5 years ago (2015-12-07 05:02:03 UTC) #3
jochen (gone - plz use gerrit)
jarin@, can you comment on the use of UseAny() vs. UseRegister()? I was under the ...
5 years ago (2015-12-07 08:08:00 UTC) #7
jochen (gone - plz use gerrit)
(jarin@ said offline to use UseAny)
5 years ago (2015-12-07 08:14:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1493983004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1493983004/80001
5 years ago (2015-12-07 08:14:13 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-12-07 08:37:33 UTC) #13
commit-bot: I haz the power
5 years ago (2015-12-07 08:37:51 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/086d4598473fe25b6b8f802998d6e85e90625136
Cr-Commit-Position: refs/heads/master@{#32644}

Powered by Google App Engine