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

Issue 1063513003: [turbofan] Optimize loads from the global object in JSTypeFeedbackSpecializer. (Closed)

Created:
5 years, 8 months ago by titzer
Modified:
5 years, 8 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Optimize loads from the global object in JSTypeFeedbackSpecializer. Uses lazy deoptimization and code dependencies to introduce loads from property cells and also to promote globals to constants. R=mstarzinger@chromium.org BUG= Committed: https://crrev.com/aae4a62d07e839455b1d0ad4fa512cc5d48a1a68 Cr-Commit-Position: refs/heads/master@{#28057}

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Fix script bound variables. #

Total comments: 1

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+564 lines, -20 lines) Patch
M src/compiler.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/access-builder.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/access-builder.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/js-type-feedback.h View 1 2 3 4 4 chunks +10 lines, -2 lines 0 comments Download
M src/compiler/js-type-feedback.cc View 1 2 3 4 5 6 6 chunks +100 lines, -16 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 1 chunk +10 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-run-jsexceptions.cc View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
A test/mjsunit/compiler/global-delete.js View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
A test/mjsunit/compiler/global-var-delete.js View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
A test/unittests/compiler/js-type-feedback-unittest.cc View 1 2 1 chunk +277 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
titzer
5 years, 8 months ago (2015-04-20 16:17:16 UTC) #1
Michael Starzinger
LGTM with comments. https://codereview.chromium.org/1063513003/diff/20001/src/compiler/js-type-feedback.cc File src/compiler/js-type-feedback.cc (right): https://codereview.chromium.org/1063513003/diff/20001/src/compiler/js-type-feedback.cc#newcode232 src/compiler/js-type-feedback.cc:232: String::Flatten(Handle<String>::cast(constant_value)); rant: We need to flatten ...
5 years, 8 months ago (2015-04-21 12:34:02 UTC) #2
titzer
https://codereview.chromium.org/1063513003/diff/20001/src/compiler/js-type-feedback.cc File src/compiler/js-type-feedback.cc (right): https://codereview.chromium.org/1063513003/diff/20001/src/compiler/js-type-feedback.cc#newcode232 src/compiler/js-type-feedback.cc:232: String::Flatten(Handle<String>::cast(constant_value)); On 2015/04/21 12:34:01, Michael Starzinger wrote: > rant: ...
5 years, 8 months ago (2015-04-21 12:56:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1063513003/40001
5 years, 8 months ago (2015-04-22 07:05:53 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/builds/2035)
5 years, 8 months ago (2015-04-22 07:18:36 UTC) #8
titzer
On 2015/04/22 07:18:36, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 8 months ago (2015-04-22 12:27:12 UTC) #9
Michael Starzinger
Still LGTM. Just one nit. https://codereview.chromium.org/1063513003/diff/80001/test/cctest/test-decls.cc File test/cctest/test-decls.cc (right): https://codereview.chromium.org/1063513003/diff/80001/test/cctest/test-decls.cc#newcode926 test/cctest/test-decls.cc:926: TEST(CrossScriptGlobal0) { nit: Do ...
5 years, 8 months ago (2015-04-22 12:42:18 UTC) #10
titzer
On 2015/04/22 12:42:18, Michael Starzinger wrote: > Still LGTM. Just one nit. > > https://codereview.chromium.org/1063513003/diff/80001/test/cctest/test-decls.cc ...
5 years, 8 months ago (2015-04-22 12:51:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1063513003/100001
5 years, 8 months ago (2015-04-22 12:51:54 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/5056)
5 years, 8 months ago (2015-04-22 13:14:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1063513003/100001
5 years, 8 months ago (2015-04-23 13:22:44 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/5102)
5 years, 8 months ago (2015-04-23 13:24:07 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1063513003/180001
5 years, 8 months ago (2015-04-27 09:05:36 UTC) #23
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 8 months ago (2015-04-27 09:07:14 UTC) #24
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/aae4a62d07e839455b1d0ad4fa512cc5d48a1a68 Cr-Commit-Position: refs/heads/master@{#28057}
5 years, 8 months ago (2015-04-27 09:07:24 UTC) #25
Michael Achenbach
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/1084533003/ by machenbach@chromium.org. ...
5 years, 8 months ago (2015-04-27 10:07:15 UTC) #26
titzer
5 years, 8 months ago (2015-04-27 10:27:56 UTC) #27
Message was sent while issue was closed.
On 2015/04/27 10:07:15, Michael Achenbach wrote:
> A revert of this CL (patchset #10 id:180001) has been created in
> https://codereview.chromium.org/1084533003/ by mailto:machenbach@chromium.org.
> 
> The reason for reverting is: [sheriff] Breaks nosnap debug:
>
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20....

That failure was due to turbo exceptions being inherently broken with nosnap
builds; we need to disable these tests temporarily.

Powered by Google App Engine
This is Rietveld 408576698