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

Issue 1751873002: When Crankshaft aborts compilation, use TurboFan next time (Closed)

Created:
4 years, 9 months ago by Jakob Kummerow
Modified:
4 years, 9 months ago
Reviewers:
Benedikt Meurer
CC:
v8-reviews_googlegroups.com, Michael Starzinger, adamk
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

When Crankshaft aborts compilation, use TurboFan next time When we try to optimize a function with Crankshaft, but compilation bails out, don't disable optimization for that function entirely, just disable Crankshaft, so TurboFan will be used for the next attempt. Thereby this widens the TurboFan intake valve. Committed: https://crrev.com/4af7757fdf5199224f19a75ab060c03e86ee3fc5 Cr-Commit-Position: refs/heads/master@{#34396}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M src/bailout-reason.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler.h View 1 chunk +12 lines, -1 line 2 comments Download
M src/compiler.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Jakob Kummerow
Benedikt: as discussed. PTAL. Michi: FYI.
4 years, 9 months ago (2016-03-01 13:05:45 UTC) #2
Benedikt Meurer
LGTM.
4 years, 9 months ago (2016-03-01 13:19:35 UTC) #3
Michael Starzinger
Fine with me, just one non-actionable comment. https://codereview.chromium.org/1751873002/diff/1/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1751873002/diff/1/src/compiler.h#newcode393 src/compiler.h:393: shared_info()->set_dont_crankshaft(true); Just ...
4 years, 9 months ago (2016-03-01 14:34:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1751873002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1751873002/1
4 years, 9 months ago (2016-03-01 14:40:13 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-01 15:13:02 UTC) #7
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/4af7757fdf5199224f19a75ab060c03e86ee3fc5 Cr-Commit-Position: refs/heads/master@{#34396}
4 years, 9 months ago (2016-03-01 15:14:05 UTC) #9
adamk
https://codereview.chromium.org/1751873002/diff/1/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1751873002/diff/1/src/compiler.h#newcode393 src/compiler.h:393: shared_info()->set_dont_crankshaft(true); On 2016/03/01 14:34:56, Michael Starzinger wrote: > Just ...
4 years, 9 months ago (2016-03-01 19:15:45 UTC) #10
Jakob Kummerow
On 2016/03/01 19:15:45, adamk wrote: > The second one of these examples, kOptimizedTooManyTimes, worries me ...
4 years, 9 months ago (2016-03-02 15:25:52 UTC) #11
Jakob Kummerow
4 years, 9 months ago (2016-03-14 10:11:23 UTC) #12
Message was sent while issue was closed.
On 2016/03/02 15:25:52, Jakob wrote:
> The idea is that turbofan-optimized code would not bail out or deopt, while
> being faster than full code.
> If an example turns up where this change causes a regression we'll have to
> reconsider our options.

Yeah, well: https://crrev.com/864f33d7614ceb3d729c8c7d7bee9f1ee24cc715

Powered by Google App Engine
This is Rietveld 408576698