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

Issue 15094018: Create AllocationSite objects, pointed to by AllocationSiteInfo. (Closed)

Created:
7 years, 7 months ago by mvstanton
Modified:
7 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Create AllocationSite objects, pointed to by AllocationSiteInfo. This creates a platform where we can do additional things with allocation sites, other than just aid in reducing array transitions. BUG= R=hpayer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15545

Patch Set 1 #

Patch Set 2 : More updates. Untested for constructed arrays, a few serialization issues #

Patch Set 3 : Working for literal arrays #

Patch Set 4 : Rebase #

Patch Set 5 : Not working, but useful to examine #

Patch Set 6 : Resolved context issues #

Patch Set 7 : Some cleanup #

Total comments: 25

Patch Set 8 : REBASE, plus new code to support constructed arrays #

Patch Set 9 : REBASE #

Patch Set 10 : Response to review comments #

Patch Set 11 : REBASE #

Patch Set 12 : Platform ports and perf bugfix #

Total comments: 29

Patch Set 13 : Code comments, round 2 (thx!) #

Total comments: 15

Patch Set 14 : REBASE #

Patch Set 15 : Comment response #

Unified diffs Side-by-side diffs Delta from patch set Stats (+623 lines, -306 lines) Patch
M include/v8.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +62 lines, -40 lines 0 comments Download
M src/arm/ic-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +8 lines, -8 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M src/arm/stub-cache-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -4 lines 0 comments Download
M src/ast.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -2 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -2 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +24 lines, -1 line 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -1 line 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +51 lines, -4 lines 0 comments Download
M src/factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M src/factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -0 lines 0 comments Download
M src/heap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +12 lines, -7 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 chunks +28 lines, -18 lines 0 comments Download
M src/heap-inl.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -3 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 chunks +64 lines, -25 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +24 lines, -3 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +59 lines, -27 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 2 3 4 5 6 7 8 5 chunks +8 lines, -8 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -4 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +56 lines, -12 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +26 lines, -40 lines 0 comments Download
M src/objects-debug.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -2 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +6 lines, -5 lines 0 comments Download
M src/objects-printer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +13 lines, -2 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +58 lines, -35 lines 0 comments Download
M src/type-info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +6 lines, -8 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +59 lines, -28 lines 0 comments Download
M src/x64/ic-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +8 lines, -8 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
mvstanton
Hi Hannes, here is the initial version.
7 years, 6 months ago (2013-05-28 16:12:16 UTC) #1
Hannes Payer (out of office)
First round of comments, cool stuff! https://codereview.chromium.org/15094018/diff/17001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): https://codereview.chromium.org/15094018/diff/17001/src/code-stubs-hydrogen.cc#newcode320 src/code-stubs-hydrogen.cc:320: AddInstruction(new(zone) HLoadKeyed(literals, literals ...
7 years, 6 months ago (2013-06-25 16:35:07 UTC) #2
mvstanton
Hi Hannes, thanks for the review, I've updated per your comments. Three things to address: ...
7 years, 5 months ago (2013-07-02 13:55:11 UTC) #3
mvstanton
Hi Hannes, the perf bug is addressed (see type-info.cc), and the platform ports are done. ...
7 years, 5 months ago (2013-07-03 09:22:33 UTC) #4
Hannes Payer (out of office)
Another round of comments. I have to look into the platform ports in more detail. ...
7 years, 5 months ago (2013-07-03 15:26:45 UTC) #5
Hannes Payer (out of office)
2 more comments https://codereview.chromium.org/15094018/diff/52061/src/objects.h File src/objects.h (right): https://codereview.chromium.org/15094018/diff/52061/src/objects.h#newcode7510 src/objects.h:7510: bool site_is_valid() { return allocation_site()->IsAllocationSite(); } ...
7 years, 5 months ago (2013-07-03 15:34:02 UTC) #6
mvstanton
thanks Hannes, getting cleaner now! --Michael https://codereview.chromium.org/15094018/diff/52061/src/arm/ic-arm.cc File src/arm/ic-arm.cc (right): https://codereview.chromium.org/15094018/diff/52061/src/arm/ic-arm.cc#newcode1234 src/arm/ic-arm.cc:1234: FAST_DOUBLE_ELEMENTS); On 2013/07/03 ...
7 years, 5 months ago (2013-07-05 07:56:14 UTC) #7
Hannes Payer (out of office)
LGTM! Just minor nits. https://codereview.chromium.org/15094018/diff/71001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/15094018/diff/71001/src/arm/code-stubs-arm.cc#newcode4669 src/arm/code-stubs-arm.cc:4669: */ It looks like that ...
7 years, 5 months ago (2013-07-08 09:03:10 UTC) #8
mvstanton
Addressed, thank you very much for the time! https://codereview.chromium.org/15094018/diff/71001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/15094018/diff/71001/src/arm/code-stubs-arm.cc#newcode4669 src/arm/code-stubs-arm.cc:4669: */ ...
7 years, 5 months ago (2013-07-08 09:58:08 UTC) #9
mvstanton
7 years, 5 months ago (2013-07-08 10:02:34 UTC) #10
Message was sent while issue was closed.
Committed patchset #15 manually as r15545 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698