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

Issue 2307903002: [Interpreter] Collect allocation site feedback in call bytecode handler. (Closed)

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

Description

[Interpreter] Collect allocation site feedback in call bytecode handler. Adds support to collect allocation site feedback for Array function calls to the call bytecode handler. BUG=v8:4280, v8:4780 LOG=N Committed: https://crrev.com/9a31162d9d3137d09063d6040865655b2e386384 Cr-Commit-Position: refs/heads/master@{#39283}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Use ArrayConstructorStub for array calls. #

Patch Set 3 : updated a comment. #

Patch Set 4 : ia32, arm and arm64 ports. #

Total comments: 20

Patch Set 5 : address comments from Ross and added mips port. #

Patch Set 6 : corrected few comments. #

Total comments: 8

Patch Set 7 : Rebase. #

Patch Set 8 : addressed comments from Ross. #

Patch Set 9 : Fixed a bug in mips implementation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+569 lines, -287 lines) Patch
M src/arm/interface-descriptors-arm.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M src/builtins/arm/builtins-arm.cc View 1 2 3 4 5 6 7 4 chunks +35 lines, -13 lines 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 2 3 4 5 6 7 4 chunks +54 lines, -38 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 2 3 4 5 6 7 4 chunks +98 lines, -48 lines 0 comments Download
M src/builtins/mips/builtins-mips.cc View 1 2 3 4 5 6 7 8 4 chunks +48 lines, -26 lines 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 1 2 3 4 5 6 7 8 4 chunks +47 lines, -25 lines 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 2 3 4 5 6 7 4 chunks +43 lines, -19 lines 0 comments Download
M src/code-factory.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/code-factory.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 1 2 chunks +94 lines, -87 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 3 4 5 6 chunks +76 lines, -15 lines 0 comments Download
M src/mips/interface-descriptors-mips.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M test/cctest/cctest.status View 1 2 3 4 5 6 3 chunks +0 lines, -7 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 6 3 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 49 (36 generated)
mythria
Benedikit, Ross, I updated call bytecode handler to collect allocation site feedback. We still don't ...
4 years, 3 months ago (2016-09-02 14:33:46 UTC) #6
Benedikt Meurer
https://codereview.chromium.org/2307903002/diff/1/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/2307903002/diff/1/src/interpreter/interpreter-assembler.cc#newcode566 src/interpreter/interpreter-assembler.cc:566: context, arg_count, first_arg, function); Ah, I misunderstood you in ...
4 years, 3 months ago (2016-09-05 04:11:20 UTC) #7
mythria
Thanks Benedikt. This cl has implementation for x64. I am also working on ports to ...
4 years, 3 months ago (2016-09-05 12:56:34 UTC) #8
Benedikt Meurer
Nice, thanks for addressing this. LGTM once ports are done.
4 years, 3 months ago (2016-09-06 03:24:38 UTC) #13
mythria
Thanks Benedikt. I uploaded ports to ia32, arm and arm64. PTAL.
4 years, 3 months ago (2016-09-06 09:22:54 UTC) #18
rmcilroy
Looks good, a couple of comments. https://codereview.chromium.org/2307903002/diff/60001/src/builtins/arm64/builtins-arm64.cc File src/builtins/arm64/builtins-arm64.cc (right): https://codereview.chromium.org/2307903002/diff/60001/src/builtins/arm64/builtins-arm64.cc#newcode1177 src/builtins/arm64/builtins-arm64.cc:1177: Register scratch = ...
4 years, 3 months ago (2016-09-06 10:59:36 UTC) #19
rmcilroy
Looks good, a couple of comments.
4 years, 3 months ago (2016-09-06 10:59:37 UTC) #20
mythria
Thanks Ross. I addressed most of your comments. For ia32 InterprterPushArgs builtin still takes a ...
4 years, 3 months ago (2016-09-07 08:59:45 UTC) #21
rmcilroy
A couple of last comments, but LGTM. https://codereview.chromium.org/2307903002/diff/100001/src/builtins/arm/builtins-arm.cc File src/builtins/arm/builtins-arm.cc (right): https://codereview.chromium.org/2307903002/diff/100001/src/builtins/arm/builtins-arm.cc#newcode1167 src/builtins/arm/builtins-arm.cc:1167: Register scratch) ...
4 years, 3 months ago (2016-09-07 10:57:39 UTC) #30
mythria
Thanks Ross. I addressed all your comments. Regards, Mythri https://codereview.chromium.org/2307903002/diff/100001/src/builtins/arm/builtins-arm.cc File src/builtins/arm/builtins-arm.cc (right): https://codereview.chromium.org/2307903002/diff/100001/src/builtins/arm/builtins-arm.cc#newcode1167 src/builtins/arm/builtins-arm.cc:1167: ...
4 years, 3 months ago (2016-09-07 13:11:16 UTC) #33
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/2307903002/120002
4 years, 3 months ago (2016-09-08 14:06:51 UTC) #46
commit-bot: I haz the power
Committed patchset #9 (id:120002)
4 years, 3 months ago (2016-09-08 14:49:31 UTC) #47
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 14:50:19 UTC) #49
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/9a31162d9d3137d09063d6040865655b2e386384
Cr-Commit-Position: refs/heads/master@{#39283}

Powered by Google App Engine
This is Rietveld 408576698