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

Issue 650073002: vector-based ICs did not update type feedback counts correctly. (Closed)

Created:
6 years, 2 months ago by mvstanton
Modified:
6 years, 2 months ago
Reviewers:
ulan, Jakob Kummerow
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

vector-based ICs did not update type feedback counts correctly. BUG=v8:3605 LOG=N R=jkummerow@chromium.org, ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24732

Patch Set 1 : Hooked up profiler. #

Patch Set 2 : IA32 done. #

Patch Set 3 : Ports. #

Total comments: 35

Patch Set 4 : Addressed performance issue and feedback. #

Patch Set 5 : Removed problematic field TypeFeedbackInfo::feedback_vector(). #

Total comments: 1

Patch Set 6 : Reduced -inl.h file usage. #

Total comments: 6

Patch Set 7 : Comment response. #

Patch Set 8 : REBASE. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+759 lines, -249 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M src/ast.h View 1 2 3 4 5 23 chunks +83 lines, -43 lines 0 comments Download
M src/ast.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/compiler.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M src/compiler/ast-graph-builder.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-operator.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/factory.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/factory.cc View 1 2 3 4 5 2 chunks +4 lines, -15 lines 0 comments Download
M src/full-codegen.h View 1 2 3 4 1 chunk +10 lines, -2 lines 0 comments Download
M src/full-codegen.cc View 1 2 3 4 1 chunk +14 lines, -3 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/hydrogen-instructions.h View 9 chunks +27 lines, -18 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M src/ic/ic.h View 1 2 3 4 5 2 chunks +21 lines, -8 lines 0 comments Download
M src/ic/ic.cc View 1 2 3 4 5 12 chunks +73 lines, -27 lines 0 comments Download
M src/ic/ic-inl.h View 1 2 3 4 1 chunk +14 lines, -5 lines 0 comments Download
M src/ic/ic-state.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/ic/ic-state.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M src/liveedit.h View 3 chunks +7 lines, -7 lines 0 comments Download
M src/liveedit.cc View 4 chunks +13 lines, -14 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -21 lines 0 comments Download
M src/runtime-profiler.cc View 1 2 3 4 5 chunks +14 lines, -6 lines 0 comments Download
M src/type-feedback-vector.h View 1 2 3 4 5 6 2 chunks +98 lines, -0 lines 0 comments Download
M src/type-feedback-vector.cc View 1 2 3 4 5 6 3 chunks +68 lines, -0 lines 0 comments Download
M src/type-feedback-vector-inl.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/type-info.h View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M src/type-info.cc View 1 2 3 4 5 4 chunks +16 lines, -4 lines 0 comments Download
M src/utils.h View 2 chunks +12 lines, -7 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-compiler.cc View 3 chunks +15 lines, -9 lines 0 comments Download
A test/cctest/test-feedback-vector.cc View 1 2 3 4 5 6 1 chunk +138 lines, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 1 chunk +7 lines, -9 lines 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (6 generated)
mvstanton
Hi Ulan, hi Jakob, This is an involved fix, I needed to: * Distinguish between ...
6 years, 2 months ago (2014-10-14 09:58:31 UTC) #5
Jakob Kummerow
I've looked at: src/ic/* src/objects* src/runtime* test/* I liked what I saw, just a couple ...
6 years, 2 months ago (2014-10-14 15:27:21 UTC) #6
ulan
Looks good. https://codereview.chromium.org/650073002/diff/500001/src/ic/ic.cc File src/ic/ic.cc (right): https://codereview.chromium.org/650073002/diff/500001/src/ic/ic.cc#newcode1964 src/ic/ic.cc:1964: if (host->type_feedback_info()->IsTypeFeedbackInfo()) { Can we have a ...
6 years, 2 months ago (2014-10-15 10:17:06 UTC) #7
mvstanton
Hi guys, thanks for the look, I've addressed your comments, and dealt with: 1) perf ...
6 years, 2 months ago (2014-10-16 10:54:16 UTC) #9
ulan
LGTM
6 years, 2 months ago (2014-10-17 13:55:43 UTC) #10
mvstanton
Thanks Ulan! Jakob, I did some adjustment with type-feedback-vector-inl.h can you have a look? Thanks ...
6 years, 2 months ago (2014-10-20 07:57:44 UTC) #11
Jakob Kummerow
LGTM https://codereview.chromium.org/650073002/diff/580001/src/type-feedback-vector.cc File src/type-feedback-vector.cc (right): https://codereview.chromium.org/650073002/diff/580001/src/type-feedback-vector.cc#newcode71 src/type-feedback-vector.cc:71: // Fall through... Uhm, what? Either "break;" or ...
6 years, 2 months ago (2014-10-20 10:29:43 UTC) #12
mvstanton
Addressed comments. Thx again, submitting... --Michael https://codereview.chromium.org/650073002/diff/580001/src/type-feedback-vector.cc File src/type-feedback-vector.cc (right): https://codereview.chromium.org/650073002/diff/580001/src/type-feedback-vector.cc#newcode71 src/type-feedback-vector.cc:71: // Fall through... ...
6 years, 2 months ago (2014-10-20 11:09:22 UTC) #14
mvstanton
6 years, 2 months ago (2014-10-20 11:43:35 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 (id:640001) manually as 24732 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698