[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals. Enabled them in this cl.
BUG=v8:4280
LOG=N
Committed: https://crrev.com/119f311245e09bd7515697d27921fd60d9e58424
Cr-Commit-Position: refs/heads/master@{#39234}
Dry run: Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/3388) v8_linux64_gyp_rel_ng_triggered on ...
4 years, 3 months ago
(2016-09-01 10:13:19 UTC)
#4
4 years, 3 months ago
(2016-09-01 11:35:14 UTC)
#8
Dry run: This issue passed the CQ dry run.
mythria
Description was changed from ========== [Interpreter] Enable allocation site memetos. [TESTING ON BOTS] BUG=v8:4280 LOG=N ...
4 years, 3 months ago
(2016-09-02 14:46:52 UTC)
#9
Description was changed from
==========
[Interpreter] Enable allocation site memetos. [TESTING ON BOTS]
BUG=v8:4280
LOG=N
==========
to
==========
[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals. Enabled them in this cl.
BUG=v8:4280
LOG=N
==========
mythria
Description was changed from ========== [Interpreter] Enable allocation site mementos in CreateArrayLiterals. In ignition, allocation ...
4 years, 3 months ago
(2016-09-02 14:47:07 UTC)
#10
Description was changed from
==========
[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals. Enabled them in this cl.
BUG=v8:4280
LOG=N
==========
to
==========
[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals.
Enabled them in this cl.
BUG=v8:4280
LOG=N
==========
mythria
Description was changed from ========== [Interpreter] Enable allocation site mementos in CreateArrayLiterals. In ignition, allocation ...
4 years, 3 months ago
(2016-09-02 14:47:22 UTC)
#11
Description was changed from
==========
[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals.
Enabled them in this cl.
BUG=v8:4280
LOG=N
==========
to
==========
[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals. Enabled them in this cl.
BUG=v8:4280
LOG=N
==========
PTAL. https://codereview.chromium.org/2294913006/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (left): https://codereview.chromium.org/2294913006/diff/20001/src/interpreter/bytecode-generator.cc#oldcode1886 src/interpreter/bytecode-generator.cc:1886: expr->ComputeFlags(true)); Ross, I think this is the only ...
4 years, 3 months ago
(2016-09-02 15:06:54 UTC)
#13
Looks good, thanks for the change. One question for Michi before we land. https://codereview.chromium.org/2294913006/diff/20001/src/interpreter/bytecode-generator.cc File ...
4 years, 3 months ago
(2016-09-05 09:28:33 UTC)
#15
Looks good, thanks for the change. One question for Michi before we land.
https://codereview.chromium.org/2294913006/diff/20001/src/interpreter/bytecod...
File src/interpreter/bytecode-generator.cc (left):
https://codereview.chromium.org/2294913006/diff/20001/src/interpreter/bytecod...
src/interpreter/bytecode-generator.cc:1886: expr->ComputeFlags(true));
On 2016/09/02 15:06:53, mythria wrote:
> Ross, I think this is the only change that is required for enabling mementos.
We
> call in to the runtime which already handles it. Was there any reason we
> disabled it earlier? When Klass finishes porting the
FastCloneShallowObjectStub
> I think it should still work.
AST Graph Builder doesn't create mementos (presumably because we don't need to
collect any more feedback once we are in optimized code). Maybe we need to
explicitly prevent mementos in BytecodeGraphBuilder to be consistent with
ASTGraphBuilder.
Michi, what do you think?
4 years, 3 months ago
(2016-09-05 12:23:04 UTC)
#17
Quick reply, doing review next.
https://codereview.chromium.org/2294913006/diff/20001/src/interpreter/bytecod...
File src/interpreter/bytecode-generator.cc (left):
https://codereview.chromium.org/2294913006/diff/20001/src/interpreter/bytecod...
src/interpreter/bytecode-generator.cc:1886: expr->ComputeFlags(true));
On 2016/09/05 09:28:33, rmcilroy wrote:
> On 2016/09/02 15:06:53, mythria wrote:
> > Ross, I think this is the only change that is required for enabling
mementos.
> We
> > call in to the runtime which already handles it. Was there any reason we
> > disabled it earlier? When Klass finishes porting the
> FastCloneShallowObjectStub
> > I think it should still work.
>
> AST Graph Builder doesn't create mementos (presumably because we don't need to
> collect any more feedback once we are in optimized code). Maybe we need to
> explicitly prevent mementos in BytecodeGraphBuilder to be consistent with
> ASTGraphBuilder.
>
> Michi, what do you think?
Yes, correct. The reasoning was that only the unoptimized code would collect
feedback and once we optimize the decision was "settled". We decided to go with
this approach until we'd see data to the contrary. Being consistent for now and
preventing creation of mementos in the BytecodeGraphBuilder sounds reasonable to
me (with a comment, explaining exactly this). I also CCed Michael Stanton about
this.
Michael Starzinger
LGTM modulo Ross' comment. I would be fine with just removing the "ArrayLiteral::kDisableMementos" bit from ...
4 years, 3 months ago
(2016-09-05 12:26:29 UTC)
#18
LGTM modulo Ross' comment. I would be fine with just removing the
"ArrayLiteral::kDisableMementos" bit from the flags in
"BytecodeGraphBuilder::VisitCreateArrayLiteral" with a lengthy comment
explaining why it's done.
mythria
The CQ bit was checked by mythria@chromium.org to run a CQ dry run
4 years, 3 months ago
(2016-09-05 13:22:04 UTC)
#19
Dry run: Try jobs failed on following builders: v8_mac_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel_ng/builds/8215)
4 years, 3 months ago
(2016-09-05 13:24:27 UTC)
#22
Description was changed from ========== [Interpreter] Enable allocation site mementos in CreateArrayLiterals. In ignition, allocation ...
4 years, 3 months ago
(2016-09-07 09:05:49 UTC)
#37
Message was sent while issue was closed.
Description was changed from
==========
[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals. Enabled them in this cl.
BUG=v8:4280
LOG=N
==========
to
==========
[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals. Enabled them in this cl.
BUG=v8:4280
LOG=N
==========
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago
(2016-09-07 09:05:50 UTC)
#38
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
commit-bot: I haz the power
Description was changed from ========== [Interpreter] Enable allocation site mementos in CreateArrayLiterals. In ignition, allocation ...
4 years, 3 months ago
(2016-09-07 09:06:26 UTC)
#39
Message was sent while issue was closed.
Description was changed from
==========
[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals. Enabled them in this cl.
BUG=v8:4280
LOG=N
==========
to
==========
[Interpreter] Enable allocation site mementos in CreateArrayLiterals.
In ignition, allocation site mementos were disabled when creating array
literals. Enabled them in this cl.
BUG=v8:4280
LOG=N
Committed: https://crrev.com/119f311245e09bd7515697d27921fd60d9e58424
Cr-Commit-Position: refs/heads/master@{#39234}
==========
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/119f311245e09bd7515697d27921fd60d9e58424 Cr-Commit-Position: refs/heads/master@{#39234}
4 years, 3 months ago
(2016-09-07 09:06:27 UTC)
#40
Issue 2294913006: [Interpreter] Enable allocation site mementos in CreateArrayLiterals.
(Closed)
Created 4 years, 3 months ago by mythria
Modified 4 years, 3 months ago
Reviewers: rmcilroy, klaasb, Michael Starzinger, mvstanton
Base URL:
Comments: 3