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

Issue 2190293003: [Interpreter] Collect type feedback for 'new' in the bytecode handler (Closed)

Created:
4 years, 4 months ago by mythria
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, rmcilroy, v8-ppc-ports_googlegroups.com, oth, Michael Starzinger
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Collect type feedback for 'new' in the bytecode handler Collect type feedback in the bytecode handler for 'new' bytecode. The earlier cl (https://codereview.chromium.org/2153433002/) was reverted because that implementation did not collect allocation site feedback. This regressed delta blue by an order of magnitude. This implementation includes collection of allocation site feedback. BUG=v8:4280, v8:4780 LOG=N Committed: https://crrev.com/9d5e6129c4c7f9cbfe81a5fad2a470f219fe137c Cr-Commit-Position: refs/heads/master@{#38364}

Patch Set 1 #

Total comments: 19

Patch Set 2 : Addressed comments from Ross #

Patch Set 3 : rebased the patch #

Patch Set 4 : updated cctest.status and mjsunit.status #

Patch Set 5 : rebased the patch. #

Patch Set 6 : updated cctest.status and mjsunit.status #

Unified diffs Side-by-side diffs Delta from patch set Stats (+543 lines, -141 lines) Patch
M src/arm/interface-descriptors-arm.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/builtins/arm/builtins-arm.cc View 1 2 chunks +25 lines, -7 lines 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 3 chunks +24 lines, -7 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M src/builtins/builtins-interpreter.cc View 1 chunk +22 lines, -0 lines 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 2 3 chunks +104 lines, -27 lines 0 comments Download
M src/builtins/mips/builtins-mips.cc View 2 chunks +24 lines, -9 lines 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 2 chunks +24 lines, -9 lines 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 5 chunks +37 lines, -15 lines 0 comments Download
M src/code-factory.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/code-factory.cc View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 chunks +10 lines, -3 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/interpreter.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M src/interpreter/interpreter-assembler.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 chunks +197 lines, -6 lines 0 comments Download
M src/mips/interface-descriptors-mips.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/cctest.status View 1 2 3 4 5 4 chunks +4 lines, -16 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallNew.golden View 4 chunks +6 lines, -6 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden View 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 3 chunks +11 lines, -6 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (28 generated)
mythria
Benedikt, Ross This cl adds allocation site feedback along with the type feedback for the ...
4 years, 4 months ago (2016-07-29 08:33:22 UTC) #6
rmcilroy
lgtm, thanks! https://codereview.chromium.org/2190293003/diff/1/src/builtins/ia32/builtins-ia32.cc File src/builtins/ia32/builtins-ia32.cc (right): https://codereview.chromium.org/2190293003/diff/1/src/builtins/ia32/builtins-ia32.cc#newcode744 src/builtins/ia32/builtins-ia32.cc:744: // TODO(mythria): Add a stack check before ...
4 years, 4 months ago (2016-08-03 13:14:19 UTC) #7
Benedikt Meurer
Nice. LGTM.
4 years, 4 months ago (2016-08-03 18:18:37 UTC) #8
mythria
Thanks for your reviews. Fixed all the nits. It is not possible to reuse InterpreterPushArgs ...
4 years, 4 months ago (2016-08-04 07:06:11 UTC) #13
mythria
I updated cctest and mjsunit sttus files. Two additional tests pass because we have allocation ...
4 years, 4 months ago (2016-08-05 08:55:04 UTC) #30
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/2190293003/100001
4 years, 4 months ago (2016-08-05 09:56:10 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-05 09:57:54 UTC) #34
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/9d5e6129c4c7f9cbfe81a5fad2a470f219fe137c Cr-Commit-Position: refs/heads/master@{#38364}
4 years, 4 months ago (2016-08-05 09:58:53 UTC) #36
Michael Achenbach
4 years, 4 months ago (2016-08-05 10:32:56 UTC) #37
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2212343002/ by machenbach@chromium.org.

The reason for reverting is: [Sheriff] Fails on nosnap debug:
https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%2....

Powered by Google App Engine
This is Rietveld 408576698