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

Issue 12114054: Supporting AllocationSiteInfo for Nested arrays (Closed)

Created:
7 years, 10 months ago by mvstanton
Modified:
7 years, 2 months ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Supporting AllocationSiteInfo for Nested arrays BUG=

Patch Set 1 #

Patch Set 2 : Moved into hydrogen #

Patch Set 3 : Pass allocation site mode flag to array literal runtime functions #

Patch Set 4 : Now with ports to arm and x64 #

Total comments: 32

Patch Set 5 : Review response #

Patch Set 6 : Some updates #

Total comments: 20

Patch Set 7 : Review updates #

Patch Set 8 : Fixes for splay issue #

Patch Set 9 : Whitespace and flag changes #

Patch Set 10 : After rebase #

Patch Set 11 : Addressing a port compile failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+652 lines, -205 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -1 line 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 3 chunks +26 lines, -4 lines 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +69 lines, -32 lines 0 comments Download
M src/assembler.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M src/assembler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/ast.h View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -1 line 0 comments Download
M src/full-codegen.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M src/handles.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M src/handles.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M src/heap.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 6 chunks +65 lines, -28 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 4 chunks +18 lines, -4 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -1 line 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 5 6 7 8 9 3 chunks +24 lines, -4 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 7 8 9 11 chunks +67 lines, -32 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -3 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -25 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 9 1 chunk +38 lines, -0 lines 0 comments Download
M src/runtime.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -2 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 8 9 14 chunks +68 lines, -26 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -1 line 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 5 6 7 8 9 3 chunks +23 lines, -4 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +65 lines, -30 lines 0 comments Download
M test/mjsunit/allocation-site-info.js View 1 2 3 4 5 6 7 8 4 chunks +104 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
mvstanton
Hi Danno, here is the nested array changeset, without platform ports. I'll have those tomorrow. ...
7 years, 10 months ago (2013-02-06 16:09:09 UTC) #1
danno
Here some initial comments. https://codereview.chromium.org/12114054/diff/8001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/12114054/diff/8001/src/arm/code-stubs-arm.cc#newcode413 src/arm/code-stubs-arm.cc:413: // [sp]: flags (ignored) I ...
7 years, 10 months ago (2013-02-08 13:44:38 UTC) #2
danno
Oh, BTW, all the ARM comments apply to the other platforms as well.
7 years, 10 months ago (2013-02-08 13:45:00 UTC) #3
mvstanton
Thanks for the review Danno, here are my changes. https://codereview.chromium.org/12114054/diff/8001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/12114054/diff/8001/src/arm/code-stubs-arm.cc#newcode413 src/arm/code-stubs-arm.cc:413: ...
7 years, 10 months ago (2013-02-11 11:11:24 UTC) #4
danno
I like the direction this is going. Getting pretty close. https://codereview.chromium.org/12114054/diff/14001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/12114054/diff/14001/src/arm/code-stubs-arm.cc#newcode500 ...
7 years, 10 months ago (2013-02-11 15:05:21 UTC) #5
mvstanton
Thanks Danno. Sorry I was late in addressing changes, somehow I missed your mail of ...
7 years, 10 months ago (2013-02-15 07:36:43 UTC) #6
mvstanton
Hi Danno, I moved the AllocationSiteInfo::GetMode() helpers to be inlined functions. I noticed that this ...
7 years, 10 months ago (2013-02-17 16:05:56 UTC) #7
mvstanton
7 years, 10 months ago (2013-02-21 11:01:09 UTC) #8
Hi Danno,
1) this patch includes the GC_count heuristic
2) I found a place in runtime.cc when we stored elements in literals that kind
of overlapped/duplicated the allocation site info policy. Removed that code.
3) I marked my helper functions in objects.h inline because it's appropriate.

Powered by Google App Engine
This is Rietveld 408576698