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

Issue 2147433002: [ic] [stubs] Don't use Code::flags in megamorphic stub cache hash computations. (Closed)

Created:
4 years, 5 months ago by Igor Sheludko
Modified:
4 years, 5 months ago
Reviewers:
Jakob Kummerow
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@split-stub-cache
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] [stubs] Don't use Code::flags in megamorphic stub cache hash computations. This should avoid weird performance issues when changing layout of Code::flags field. BUG=chromium:618701 Committed: https://crrev.com/aa4140b1ccc114b82700471513c715f68b7c5dac Cr-Commit-Position: refs/heads/master@{#37755}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Release builds fixed #

Patch Set 3 : Rebasing reland of original CL #

Patch Set 4 : Improved stub cache tests and the fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -318 lines) Patch
M src/arm64/macro-assembler-arm64.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 6 chunks +16 lines, -30 lines 0 comments Download
M src/code-stubs.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/ic/arm/stub-cache-arm.cc View 1 2 3 5 chunks +16 lines, -26 lines 0 comments Download
M src/ic/arm64/stub-cache-arm64.cc View 1 2 3 5 chunks +21 lines, -20 lines 0 comments Download
M src/ic/ia32/stub-cache-ia32.cc View 1 2 3 7 chunks +12 lines, -15 lines 0 comments Download
M src/ic/ic.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/ic/mips/stub-cache-mips.cc View 1 2 3 5 chunks +19 lines, -24 lines 0 comments Download
M src/ic/mips64/stub-cache-mips64.cc View 1 2 3 5 chunks +21 lines, -25 lines 0 comments Download
M src/ic/ppc/stub-cache-ppc.cc View 1 2 3 5 chunks +10 lines, -13 lines 0 comments Download
M src/ic/s390/stub-cache-s390.cc View 1 2 3 5 chunks +10 lines, -13 lines 0 comments Download
M src/ic/stub-cache.h View 1 2 3 4 chunks +14 lines, -22 lines 0 comments Download
M src/ic/stub-cache.cc View 1 6 chunks +18 lines, -33 lines 0 comments Download
M src/ic/x64/stub-cache-x64.cc View 1 2 3 4 chunks +8 lines, -12 lines 0 comments Download
M src/ic/x87/stub-cache-x87.cc View 1 2 3 7 chunks +12 lines, -15 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M src/objects.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/type-info.h View 1 chunk +2 lines, -4 lines 0 comments Download
M src/type-info.cc View 3 chunks +4 lines, -9 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 chunks +49 lines, -13 lines 0 comments Download
M test/cctest/test-code-stub-assembler.cc View 6 chunks +8 lines, -31 lines 0 comments Download

Messages

Total messages: 29 (22 generated)
Igor Sheludko
PTAL
4 years, 5 months ago (2016-07-12 11:12:31 UTC) #4
Jakob Kummerow
LGTM with comments. https://codereview.chromium.org/2147433002/diff/1/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2147433002/diff/1/src/code-stub-assembler.cc#newcode2806 src/code-stub-assembler.cc:2806: // Check that the flags match ...
4 years, 5 months ago (2016-07-12 12:55:50 UTC) #9
Igor Sheludko
https://codereview.chromium.org/2147433002/diff/1/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2147433002/diff/1/src/code-stub-assembler.cc#newcode2806 src/code-stub-assembler.cc:2806: // Check that the flags match what we're looking ...
4 years, 5 months ago (2016-07-12 13:06:55 UTC) #12
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/2147433002/20001
4 years, 5 months ago (2016-07-14 10:06:39 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-14 10:32:04 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/aa4140b1ccc114b82700471513c715f68b7c5dac Cr-Commit-Position: refs/heads/master@{#37755}
4 years, 5 months ago (2016-07-14 10:33:41 UTC) #17
Igor Sheludko
4 years, 5 months ago (2016-07-15 16:07:28 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2147213004/ by ishell@chromium.org.

The reason for reverting is: Unfortunately, the performance issues are still
there on Android..

Powered by Google App Engine
This is Rietveld 408576698