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

Issue 2325083003: Record call counts also for megamorphic calls. (Closed)

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

Description

Record call counts also for megamorphic calls. To make better inlining decisions, it's good to have call counts for poly/mega-morphic cases. This CL makes it work for calls, and another will follow to better unify the code between constructor calls and normal calls (and thence, to record megamorphic call counts there as well). BUG= Committed: https://crrev.com/2ab3fcf42f0cf04896b26bf23bc3809d8835fd39 Cr-Commit-Position: refs/heads/master@{#39377}

Patch Set 1 #

Patch Set 2 : Tests pass. #

Patch Set 3 : Ports. #

Patch Set 4 : Address test failure. #

Total comments: 1

Patch Set 5 : Code comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -145 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 8 chunks +26 lines, -18 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 9 chunks +28 lines, -23 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 8 chunks +22 lines, -14 lines 0 comments Download
M src/interpreter/interpreter-assembler.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 8 chunks +33 lines, -28 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 8 chunks +20 lines, -16 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 8 chunks +20 lines, -19 lines 0 comments Download
M src/type-feedback-vector.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/type-feedback-vector.cc View 1 2 3 4 3 chunks +18 lines, -9 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 9 chunks +22 lines, -17 lines 0 comments Download
M test/cctest/test-feedback-vector.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M test/mjsunit/regress/regress-353551.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (18 generated)
mvstanton
Hi Benedikt, hi Mythri, Mythri, could you examine the interpreter assembler changes? Benedikt, have a ...
4 years, 3 months ago (2016-09-13 08:53:24 UTC) #6
mythria
Nice, lgtm on interpreter-assembler.
4 years, 3 months ago (2016-09-13 10:05:00 UTC) #15
mvstanton
Resending to correct review accounts :p
4 years, 3 months ago (2016-09-13 10:14:10 UTC) #17
Benedikt Meurer
LGTM with nit. https://codereview.chromium.org/2325083003/diff/60001/src/type-feedback-vector.cc File src/type-feedback-vector.cc (right): https://codereview.chromium.org/2325083003/diff/60001/src/type-feedback-vector.cc#newcode258 src/type-feedback-vector.cc:258: array->set(index + j, kind == FeedbackVectorSlotKind::CALL_IC ...
4 years, 3 months ago (2016-09-13 10:34:58 UTC) #18
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/2325083003/80001
4 years, 3 months ago (2016-09-13 10:38:49 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-13 11:03:49 UTC) #23
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 11:04:32 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2ab3fcf42f0cf04896b26bf23bc3809d8835fd39
Cr-Commit-Position: refs/heads/master@{#39377}

Powered by Google App Engine
This is Rietveld 408576698