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

Issue 1906823002: Move of the type feedback vector to the closure. (Closed)

Created:
4 years, 8 months ago by mvstanton
Modified:
4 years, 6 months ago
CC:
v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com, Yang, oth, rmcilroy, Hannes Payer (out of office), ulan
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Move of the type feedback vector to the closure. We get less "pollution" of type feedback if we have one vector per native context, rather than one for the whole system. This CL moves the vector appropriately. BUG= Committed: https://crrev.com/91c88644dcf396285f88977080ea85f4614bbc02 Cr-Commit-Position: refs/heads/master@{#36539}

Patch Set 1 #

Patch Set 2 : Ports. #

Patch Set 3 : REBASE. #

Total comments: 24

Patch Set 4 : Comment response. #

Patch Set 5 : REBASE. #

Total comments: 2

Patch Set 6 : REBASE and comments. #

Patch Set 7 : REBASE. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -374 lines) Patch
M src/arm/macro-assembler-arm.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 9 chunks +22 lines, -24 lines 0 comments Download
M src/compiler/access-builder.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M src/compiler/access-builder.cc View 1 2 3 4 2 chunks +0 lines, -14 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-create-lowering.cc View 1 2 3 1 chunk +34 lines, -38 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 2 3 4 7 chunks +26 lines, -33 lines 0 comments Download
M src/compiler/js-graph.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/js-graph.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M src/crankshaft/hydrogen.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 3 chunks +6 lines, -2 lines 0 comments Download
M src/crankshaft/typing.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/debug/debug.cc View 1 2 4 2 chunks +2 lines, -3 lines 0 comments Download
M src/debug/liveedit.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/debug/liveedit.cc View 1 2 3 4 7 chunks +23 lines, -15 lines 0 comments Download
M src/factory.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 2 3 4 1 chunk +3 lines, -8 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 1 2 3 4 6 2 chunks +3 lines, -3 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 chunks +26 lines, -15 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 6 chunks +61 lines, -9 lines 0 comments Download
M src/objects-debug.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 4 chunks +17 lines, -2 lines 0 comments Download
M src/objects-printer.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M src/optimizing-compile-dispatcher.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/profiler/heap-snapshot-generator.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M src/runtime-profiler.cc View 1 2 3 5 chunks +10 lines, -12 lines 0 comments Download
M src/runtime/runtime-function.cc View 1 2 3 4 2 chunks +5 lines, -7 lines 0 comments Download
M src/runtime/runtime-generator.cc View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M src/runtime/runtime-test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/snapshot/partial-serializer.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M src/type-feedback-vector.h View 2 chunks +6 lines, -2 lines 0 comments Download
M src/type-feedback-vector.cc View 3 chunks +37 lines, -2 lines 0 comments Download
M src/type-feedback-vector-inl.h View 2 chunks +9 lines, -5 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/function-tester.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/compiler/test-run-jscalls.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 2 3 4 5 15 chunks +18 lines, -100 lines 0 comments Download
M test/cctest/interpreter/interpreter-tester.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M test/cctest/test-compiler.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-feedback-vector.cc View 1 2 3 4 12 chunks +12 lines, -13 lines 0 comments Download
M test/unittests/interpreter/interpreter-assembler-unittest.cc View 1 2 3 4 1 chunk +8 lines, -10 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
mvstanton
Hi Michael, Here is the vector move. Much of this was reviewed/in-the-tree in February, but ...
4 years, 8 months ago (2016-04-22 09:41:50 UTC) #3
Michael Starzinger
First round of comments. https://codereview.chromium.org/1906823002/diff/40001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1906823002/diff/40001/src/compiler.cc#newcode524 src/compiler.cc:524: shared->set_num_literals(lit->materialized_literal_count()); Depending on who computes ...
4 years, 7 months ago (2016-05-10 13:47:21 UTC) #4
mvstanton
Hi Michael, Thanks for the great comments, have a second glance. All the best, --Mike ...
4 years, 7 months ago (2016-05-24 16:31:50 UTC) #6
Michael Starzinger
LGTM. Only one comment to address. And you will need serializer owner review, I added ...
4 years, 7 months ago (2016-05-25 11:20:18 UTC) #8
mvstanton
Hi Ulan, Yang, Benedikt, Could you guys review changes in /heap, /serializer, and /crankshaft? Thanks! ...
4 years, 7 months ago (2016-05-25 12:57:08 UTC) #10
Benedikt Meurer
lgtm
4 years, 7 months ago (2016-05-25 12:57:57 UTC) #11
Yang
serializer and debug lgtm
4 years, 7 months ago (2016-05-25 13:07:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1906823002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1906823002/110001
4 years, 7 months ago (2016-05-25 14:15:23 UTC) #16
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No L-G-T-M from ...
4 years, 7 months ago (2016-05-25 14:15:26 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1906823002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1906823002/130001
4 years, 6 months ago (2016-05-27 06:58:05 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-27 07:41:58 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1906823002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1906823002/130001
4 years, 6 months ago (2016-05-27 08:06:49 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:130001)
4 years, 6 months ago (2016-05-27 08:09:24 UTC) #29
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 08:11:06 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/91c88644dcf396285f88977080ea85f4614bbc02
Cr-Commit-Position: refs/heads/master@{#36539}

Powered by Google App Engine
This is Rietveld 408576698