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

Issue 2426693002: [ic] Unify CallIC feedback collection and handling. (Closed)

Created:
4 years, 2 months ago by Benedikt Meurer
Modified:
4 years, 2 months ago
Reviewers:
mvstanton, mythria
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, rmcilroy, v8-ppc-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] Unify CallIC feedback collection and handling. Consistently collect CallIC feedback in fullcodegen and Ignition, even for possibly direct eval calls, that were treated specially so far, for no apparent reason. With the upcoming SharedFunctionInfo based CallIC feedback, we might be able to even inline certain direct eval calls, if they manage to hit the eval cache. More importantly, this patch simplifies the collection and dealing with CallIC feedback (and as a side effect fixes an inconsistency with feedback for super constructor calls). R=mvstanton@chromium.org, mythria@chromium.org BUG=v8:2206, v8:4280, v8:5267 Committed: https://crrev.com/308788b3069703117a9004e64c06c26137c84263 Cr-Commit-Position: refs/heads/master@{#40397}

Patch Set 1 : Initial attempt #

Patch Set 2 : Also simplify BytecodeGraphBuilder::ComputeCallFrequency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -102 lines) Patch
M src/ast/ast.h View 3 chunks +0 lines, -5 lines 0 comments Download
M src/ast/ast.cc View 1 chunk +1 line, -17 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/typing.cc View 1 chunk +6 lines, -10 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 chunk +1 line, -11 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 2 chunks +1 line, -19 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ContextVariables.golden View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Eval.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/bytecode_expectations/LookupSlot.golden View 5 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 31 (25 generated)
Benedikt Meurer
4 years, 2 months ago (2016-10-17 18:10:15 UTC) #1
Benedikt Meurer
Hey Mythri, Michael, Here's another simplification for the CallIC business, in preparation for the new ...
4 years, 2 months ago (2016-10-18 04:07:45 UTC) #23
mythria
Nice, LGTM. Thanks, Mythri
4 years, 2 months ago (2016-10-18 06:16:38 UTC) #26
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/2426693002/80001
4 years, 2 months ago (2016-10-18 11:58:13 UTC) #28
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 2 months ago (2016-10-18 12:01:11 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 12:01:33 UTC) #31
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/308788b3069703117a9004e64c06c26137c84263
Cr-Commit-Position: refs/heads/master@{#40397}

Powered by Google App Engine
This is Rietveld 408576698