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

Issue 2123983004: [ic] Split megamorphic stub cache in two caches (for loads and for stores). (Closed)

Created:
4 years, 5 months ago by Igor Sheludko
Modified:
4 years, 5 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, Hannes Payer (out of office), ulan, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@flags-fix
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] Split megamorphic stub cache in two caches (for loads and for stores). After this CL we can avoid using Code::flags in hash computations for megamorphic stub caches and therefore the unused ICState field can be finally removed from flags. BUG=chromium:618701 Committed: https://crrev.com/b449dc0b6fc33e92563f1a31cd523f02aa31baae Cr-Commit-Position: refs/heads/master@{#37708}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebasing #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -324 lines) Patch
M src/arm/code-stubs-arm.cc View 2 chunks +4 lines, -10 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 2 chunks +4 lines, -10 lines 0 comments Download
M src/code-stub-assembler.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 chunks +6 lines, -7 lines 0 comments Download
M src/external-reference-table.cc View 1 chunk +29 lines, -13 lines 0 comments Download
M src/heap/mark-compact.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/ic/arm/ic-arm.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/ic/arm/stub-cache-arm.cc View 5 chunks +13 lines, -12 lines 0 comments Download
M src/ic/arm64/ic-arm64.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/ic/arm64/stub-cache-arm64.cc View 6 chunks +13 lines, -12 lines 0 comments Download
M src/ic/ia32/ic-ia32.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/ic/ia32/stub-cache-ia32.cc View 4 chunks +11 lines, -11 lines 0 comments Download
M src/ic/ic.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/ic/ic.cc View 2 chunks +18 lines, -2 lines 0 comments Download
M src/ic/mips/ic-mips.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/ic/mips/stub-cache-mips.cc View 5 chunks +13 lines, -12 lines 0 comments Download
M src/ic/mips64/ic-mips64.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/ic/mips64/stub-cache-mips64.cc View 5 chunks +13 lines, -12 lines 0 comments Download
M src/ic/ppc/ic-ppc.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/ic/ppc/stub-cache-ppc.cc View 5 chunks +13 lines, -12 lines 0 comments Download
M src/ic/s390/ic-s390.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/ic/s390/stub-cache-s390.cc View 5 chunks +13 lines, -11 lines 0 comments Download
M src/ic/stub-cache.h View 4 chunks +4 lines, -3 lines 0 comments Download
M src/ic/stub-cache.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M src/ic/x64/ic-x64.cc View 2 chunks +4 lines, -9 lines 0 comments Download
M src/ic/x64/stub-cache-x64.cc View 7 chunks +14 lines, -15 lines 1 comment Download
M src/ic/x87/ic-x87.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/ic/x87/stub-cache-x87.cc View 4 chunks +11 lines, -11 lines 0 comments Download
M src/isolate.h View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/isolate.cc View 1 4 chunks +10 lines, -5 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 2 chunks +4 lines, -10 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 2 chunks +4 lines, -10 lines 0 comments Download
M src/ppc/code-stubs-ppc.cc View 2 chunks +4 lines, -10 lines 0 comments Download
M src/s390/code-stubs-s390.cc View 2 chunks +4 lines, -10 lines 0 comments Download
M src/type-info.h View 2 chunks +7 lines, -4 lines 0 comments Download
M src/type-info.cc View 3 chunks +11 lines, -8 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M src/x87/code-stubs-x87.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M test/cctest/test-code-stub-assembler.cc View 2 chunks +5 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123983004/40001
4 years, 5 months ago (2016-07-07 15:37:17 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel_ng/builds/10202)
4 years, 5 months ago (2016-07-07 15:41:48 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123983004/60001
4 years, 5 months ago (2016-07-07 15:47:58 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel_ng/builds/4510)
4 years, 5 months ago (2016-07-07 15:54:48 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123983004/80001
4 years, 5 months ago (2016-07-07 22:04:45 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-07 22:37:45 UTC) #18
Igor Sheludko
PTAL https://codereview.chromium.org/2123983004/diff/80001/src/type-info.cc File src/type-info.cc (left): https://codereview.chromium.org/2123983004/diff/80001/src/type-info.cc#oldcode283 src/type-info.cc:283: Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC); I wonder, why don't ...
4 years, 5 months ago (2016-07-07 23:02:26 UTC) #20
Igor Sheludko
https://codereview.chromium.org/2123983004/diff/80001/src/type-info.cc File src/type-info.cc (left): https://codereview.chromium.org/2123983004/diff/80001/src/type-info.cc#oldcode283 src/type-info.cc:283: Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC); On 2016/07/07 23:02:25, Igor Sheludko ...
4 years, 5 months ago (2016-07-12 11:13:46 UTC) #21
Jakob Kummerow
LGTM https://codereview.chromium.org/2123983004/diff/90001/src/ic/x64/stub-cache-x64.cc File src/ic/x64/stub-cache-x64.cc (right): https://codereview.chromium.org/2123983004/diff/90001/src/ic/x64/stub-cache-x64.cc#newcode108 src/ic/x64/stub-cache-x64.cc:108: if (IC::ICUseVector(ic_kind_)) { This can be a DCHECK ...
4 years, 5 months ago (2016-07-13 09:54:48 UTC) #23
ulan
heap lgtm
4 years, 5 months ago (2016-07-13 10:00:02 UTC) #25
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/2123983004/90001
4 years, 5 months ago (2016-07-13 10:00:37 UTC) #27
commit-bot: I haz the power
Committed patchset #2 (id:90001)
4 years, 5 months ago (2016-07-13 10:25:02 UTC) #29
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 10:27:44 UTC) #31
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b449dc0b6fc33e92563f1a31cd523f02aa31baae
Cr-Commit-Position: refs/heads/master@{#37708}

Powered by Google App Engine
This is Rietveld 408576698