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

Issue 2829093004: [turbofan] Avoid going through ArgumentsAdaptorTrampoline for CSA/C++ builtins (Closed)

Created:
3 years, 8 months ago by danno
Modified:
3 years, 7 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Reland: Avoid going through ArgumentsAdaptorTrampoline for select CSA array builtins This CL changes certain frequently-called Array builtins to use CodeStubArguments rather than peek at the stack frames above array builtins to determine if options arguments have been passed into them. Previous failure likely due to unfortunate/unluckily timed GC that moved due to changed timing/allocation from this CL. Test mitigation for allocation-site-info.js included. BUG=v8:1956 LOG=N Review-Url: https://codereview.chromium.org/2829093004 Cr-Commit-Position: refs/heads/master@{#44998} Committed: https://chromium.googlesource.com/v8/v8/+/455f9df04c138c88c52ede7d3f0e91ea087c4ee6

Patch Set 1 #

Patch Set 2 : Remove stray changes #

Patch Set 3 : Fix CSA verifier #

Patch Set 4 : Merge with ToT #

Total comments: 14

Patch Set 5 : Review feedback #

Patch Set 6 : Fix typo #

Total comments: 2

Patch Set 7 : Review feedback #

Patch Set 8 : Fix typed array builtins #

Patch Set 9 : Fix flakey test #

Patch Set 10 : Add other files again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -228 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 5 6 7 8 9 4 chunks +35 lines, -16 lines 0 comments Download
M src/builtins/builtins-array-gen.cc View 1 2 3 4 5 6 9 17 chunks +133 lines, -119 lines 0 comments Download
M src/builtins/builtins-definitions.h View 1 2 3 4 5 6 9 2 chunks +28 lines, -24 lines 0 comments Download
M src/code-factory.h View 1 2 3 4 9 1 chunk +0 lines, -7 lines 0 comments Download
M src/code-factory.cc View 1 2 3 4 9 1 chunk +0 lines, -42 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 4 5 6 9 2 chunks +4 lines, -1 line 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 6 9 1 chunk +22 lines, -0 lines 0 comments Download
M src/compiler/code-assembler.cc View 1 2 3 9 1 chunk +1 line, -1 line 0 comments Download
M src/interface-descriptors.h View 1 2 3 4 9 3 chunks +19 lines, -18 lines 0 comments Download
M test/mjsunit/allocation-site-info.js View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-709782.js View 9 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (43 generated)
danno
PTAL, Igor please check the CSA changes.
3 years, 8 months ago (2017-04-26 15:28:07 UTC) #20
mvstanton
Cool stuff. LGTM. I'm a little confused on the BUG= listed though...it's declared as fixed...is ...
3 years, 8 months ago (2017-04-26 16:12:04 UTC) #21
Benedikt Meurer
https://codereview.chromium.org/2829093004/diff/60001/src/compiler/js-call-reducer.cc File src/compiler/js-call-reducer.cc (right): https://codereview.chromium.org/2829093004/diff/60001/src/compiler/js-call-reducer.cc#newcode585 src/compiler/js-call-reducer.cc:585: // For CSA/C++ builtin {target}s, we can ensure that ...
3 years, 8 months ago (2017-04-26 16:17:57 UTC) #22
Igor Sheludko
https://codereview.chromium.org/2829093004/diff/60001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2829093004/diff/60001/src/bootstrapper.cc#newcode4347 src/bootstrapper.cc:4347: SharedFunctionInfo::kDontAdaptArgumentsSentinel); Idea for further improvement: it would be nice ...
3 years, 8 months ago (2017-04-27 10:38:05 UTC) #23
danno
please take another look https://codereview.chromium.org/2829093004/diff/60001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2829093004/diff/60001/src/bootstrapper.cc#newcode4347 src/bootstrapper.cc:4347: SharedFunctionInfo::kDontAdaptArgumentsSentinel); On 2017/04/27 10:38:05, Igor ...
3 years, 7 months ago (2017-04-28 06:58:10 UTC) #31
Igor Sheludko
lgtm once the comment is addressed: https://codereview.chromium.org/2829093004/diff/100001/src/builtins/builtins-array-gen.cc File src/builtins/builtins-array-gen.cc (right): https://codereview.chromium.org/2829093004/diff/100001/src/builtins/builtins-array-gen.cc#newcode461 src/builtins/builtins-array-gen.cc:461: Return(a_.value()); ReturnFromBuiltin(a_.value()); Please ...
3 years, 7 months ago (2017-04-28 12:51:46 UTC) #34
danno
Ran with --experimental-fast-array-builtins and fixed a remaining issue. Thanks for the review. https://codereview.chromium.org/2829093004/diff/100001/src/builtins/builtins-array-gen.cc File src/builtins/builtins-array-gen.cc ...
3 years, 7 months ago (2017-04-29 06:45:33 UTC) #35
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/2829093004/140001
3 years, 7 months ago (2017-04-29 06:54:23 UTC) #38
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/v8/v8/+/680356278ddc7577e3b967fcc92055522ce00856
3 years, 7 months ago (2017-04-29 07:36:20 UTC) #41
danno
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/2851703005/ by danno@chromium.org. ...
3 years, 7 months ago (2017-04-29 09:43:59 UTC) #42
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/2829093004/140001
3 years, 7 months ago (2017-04-29 10:52:25 UTC) #46
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/v8/v8/+/7ca381e84792b83581d0199dfae2888781785273
3 years, 7 months ago (2017-04-29 10:53:51 UTC) #49
danno
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/2851063002/ by danno@chromium.org. ...
3 years, 7 months ago (2017-04-29 10:58:37 UTC) #50
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/2829093004/180001
3 years, 7 months ago (2017-04-29 11:10:45 UTC) #55
commit-bot: I haz the power
3 years, 7 months ago (2017-04-29 11:40:58 UTC) #58
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/v8/v8/+/455f9df04c138c88c52ede7d3f0e91ea087...

Powered by Google App Engine
This is Rietveld 408576698