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

Issue 368263003: Use a stub in crankshaft for grow store arrays. (Closed)

Created:
6 years, 5 months ago by mvstanton
Modified:
6 years, 1 month ago
Reviewers:
danno
CC:
v8-dev, Toon Verwaest
Project:
v8
Visibility:
Public.

Description

Use a stub in crankshaft for grow store arrays. We were deopting without learning anything. BUG=v8:3417 LOG=N R=danno@chromium.org Committed: https://chromium.googlesource.com/v8/v8/+/d40204f84c0f6fad171ba8ace587f902bd5b14bc

Patch Set 1 #

Patch Set 2 : Removed Linkage. #

Patch Set 3 : More tests. #

Patch Set 4 : Performance fixes. #

Total comments: 6

Patch Set 5 : REBASE. #

Patch Set 6 : Testfix, and addressed comment. #

Patch Set 7 : Addressed remaining issues. #

Total comments: 1

Patch Set 8 : REBASE. #

Patch Set 9 : Ports and comment response. #

Patch Set 10 : Fix for ARM and fuzzing infrastructure. #

Patch Set 11 : REBASE and format #

Patch Set 12 : Dust off, rebase. #

Patch Set 13 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -29 lines) Patch
M src/arm/interface-descriptors-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -2 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +24 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -0 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +25 lines, -0 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +33 lines, -10 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +4 lines, -1 line 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +13 lines, -1 line 0 comments Download
M src/interface-descriptors.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +10 lines, -5 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +24 lines, -10 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +38 lines, -0 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
A test/mjsunit/ensure-growing-store-learns.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +109 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
mvstanton
Hi Danno, Here is a fix for the bug we discussed. Two callouts: 1) Note ...
6 years, 5 months ago (2014-07-08 14:17:58 UTC) #1
mvstanton
Hi Danno, this is available for review, I addressed the perf issues. Best, --Michael
6 years, 5 months ago (2014-07-11 06:54:17 UTC) #2
danno
https://codereview.chromium.org/368263003/diff/80001/src/code-stubs.h File src/code-stubs.h (right): https://codereview.chromium.org/368263003/diff/80001/src/code-stubs.h#newcode756 src/code-stubs.h:756: class IsJsArrayBits: public BitField<bool, 16, 1> {}; Any particular ...
6 years, 5 months ago (2014-07-11 12:30:30 UTC) #3
mvstanton
Hi Danno, I addressed your comments and fixed a TODO. Have a look when you ...
6 years, 5 months ago (2014-07-21 09:41:17 UTC) #4
danno
https://codereview.chromium.org/368263003/diff/180001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/368263003/diff/180001/src/runtime.cc#newcode14906 src/runtime.cc:14906: Handle<FixedArrayBase> elements(object->elements()); I guess this is function is OK, ...
6 years, 5 months ago (2014-07-21 10:31:44 UTC) #5
mvstanton
Hi Danno, thanks for the review thus far. I did some refactoring to eliminate: 1) ...
6 years, 4 months ago (2014-07-29 13:50:08 UTC) #6
mvstanton
Minor update: 1) generate-runtime-tests.py needs to know something about the new runtime function. 2) lithium-codegen-arm.cc ...
6 years, 4 months ago (2014-07-30 09:30:21 UTC) #7
mvstanton
Hi Danno, Here is the CL we discussed, PTAL, thx! --Michael
6 years, 3 months ago (2014-09-17 15:11:38 UTC) #11
danno
lgtm
6 years, 1 month ago (2014-11-05 13:16:03 UTC) #12
mvstanton
6 years, 1 month ago (2014-11-18 12:32:32 UTC) #15
Message was sent while issue was closed.
Committed patchset #13 (id:400001) manually as
d40204f84c0f6fad171ba8ace587f902bd5b14bc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698