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

Issue 753993003: Use weak cells in map checks in polymorphic ICs. (Closed)

Created:
6 years ago by ulan
Modified:
6 years ago
CC:
v8-dev, Hannes Payer (out of office), Toon Verwaest, Jakob Kummerow
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Use weak cells in map checks in polymorphic ICs. BUG=v8:3663 LOG=N

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix fetching of handlers, test, add ia32 #

Patch Set 3 : Add arm, arm64 #

Patch Set 4 : Rebase #

Patch Set 5 : Add tests #

Patch Set 6 : Add tests, mips, mips64, x86 ports #

Patch Set 7 : Implement caching of weak cell for maps #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -56 lines) Patch
M src/arm/macro-assembler-arm.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M src/arm64/macro-assembler-arm64.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M src/factory.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 1 chunk +1 line, -3 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M src/ic/arm/ic-compiler-arm.cc View 1 2 3 4 5 2 chunks +8 lines, -6 lines 0 comments Download
M src/ic/arm64/ic-compiler-arm64.cc View 1 2 3 4 5 2 chunks +8 lines, -5 lines 0 comments Download
M src/ic/ia32/ic-compiler-ia32.cc View 1 2 3 4 5 2 chunks +9 lines, -5 lines 0 comments Download
M src/ic/mips/ic-compiler-mips.cc View 1 2 3 4 5 2 chunks +12 lines, -6 lines 0 comments Download
M src/ic/mips64/ic-compiler-mips64.cc View 1 2 3 4 5 2 chunks +12 lines, -6 lines 0 comments Download
M src/ic/x64/ic-compiler-x64.cc View 1 2 3 4 5 2 chunks +9 lines, -6 lines 0 comments Download
M src/ic/x87/ic-compiler-x87.cc View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 chunks +57 lines, -10 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M src/objects-printer.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M src/x87/macro-assembler-x87.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/x87/macro-assembler-x87.cc View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M test/cctest/cctest.status View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 6 7 5 chunks +114 lines, -0 lines 0 comments Download
M test/mjsunit/opt-elements-kind.js View 1 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
ulan
Michael, could you please take a look. If it looks ok, I'll implement other platforms. ...
6 years ago (2014-11-26 14:15:26 UTC) #2
mvstanton
Yep, make ports and let's see. https://codereview.chromium.org/753993003/diff/1/src/heap/objects-visiting-inl.h File src/heap/objects-visiting-inl.h (left): https://codereview.chromium.org/753993003/diff/1/src/heap/objects-visiting-inl.h#oldcode267 src/heap/objects-visiting-inl.h:267: target->ic_state() == POLYMORPHIC ...
6 years ago (2014-11-26 14:18:21 UTC) #3
ulan
> Yep, make ports and let's see. Done. I also fixed Code::FindFirstHandler and Code::FindHandlers to ...
6 years ago (2014-11-27 13:16:39 UTC) #4
mvstanton
Hi Ulan, just get a test over in test-heap.cc along the lines of IncrementalMarkingPreservedMonomorphicIC, make ...
6 years ago (2014-11-27 17:00:11 UTC) #5
ulan
On 2014/11/27 17:00:11, mvstanton wrote: > Hi Ulan, just get a test over in test-heap.cc ...
6 years ago (2014-11-28 14:14:20 UTC) #6
ulan
Akos, Weiliang, could you please take a look at mips and x87 ports?
6 years ago (2014-11-28 14:27:36 UTC) #8
Weiliang
On 2014/11/28 14:27:36, ulan wrote: > Akos, Weiliang, could you please take a look at ...
6 years ago (2014-12-01 04:34:36 UTC) #9
mvstanton
Right on, LGTM.
6 years ago (2014-12-01 07:57:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753993003/140001
6 years ago (2014-12-01 10:11:19 UTC) #12
akos.palfi.imgtec
LGTM, Thank you for the ports!
6 years ago (2014-12-01 10:27:59 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001)
6 years ago (2014-12-01 10:41:11 UTC) #14
Michael Achenbach
6 years ago (2014-12-02 08:13:19 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/771033003/ by machenbach@chromium.org.

The reason for reverting is: [Sheriff] Speculative revert for breaking chromium
asan (roll blocker):
http://build.chromium.org/p/client.v8/builders/Linux%20ASan%20LSan%20Tests%20....

Powered by Google App Engine
This is Rietveld 408576698