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 2883853002: [turbofan] Always inline small functions directly. (Closed)

Created:
3 years, 7 months ago by Benedikt Meurer
Modified:
3 years, 7 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com, Michael Hablich
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Always inline small functions directly. Introduce a flag --max_inlined_nodes_small (defaults to 10), which gives the upper limit of AST nodes for a function to be considered "small" by the inlining heuristic. These functions will always be inlined immediately, independent of the budget. R=jarin@chromium.org BUG=v8:6395, v8:6278, v8:6344, v8:6394 Review-Url: https://codereview.chromium.org/2883853002 Cr-Commit-Position: refs/heads/master@{#45291} Committed: https://chromium.googlesource.com/v8/v8/+/558cee1d147947ab65fd3c99f9812093c6fc764a

Patch Set 1 #

Total comments: 4

Patch Set 2 : Check frequency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M src/compiler/js-inlining-heuristic.cc View 1 4 chunks +20 lines, -1 line 0 comments Download
M src/flag-definitions.h View 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (18 generated)
Benedikt Meurer
3 years, 7 months ago (2017-05-15 06:36:08 UTC) #1
Jarin
lgtm https://codereview.chromium.org/2883853002/diff/1/src/compiler/js-inlining-heuristic.cc File src/compiler/js-inlining-heuristic.cc (right): https://codereview.chromium.org/2883853002/diff/1/src/compiler/js-inlining-heuristic.cc#newcode68 src/compiler/js-inlining-heuristic.cc:68: bool SmallInlineFunction(Handle<SharedFunctionInfo> shared) { Could you rename to ...
3 years, 7 months ago (2017-05-15 06:42:47 UTC) #4
Benedikt Meurer
https://codereview.chromium.org/2883853002/diff/1/src/compiler/js-inlining-heuristic.cc File src/compiler/js-inlining-heuristic.cc (right): https://codereview.chromium.org/2883853002/diff/1/src/compiler/js-inlining-heuristic.cc#newcode68 src/compiler/js-inlining-heuristic.cc:68: bool SmallInlineFunction(Handle<SharedFunctionInfo> shared) { On 2017/05/15 06:42:47, Jarin wrote: ...
3 years, 7 months ago (2017-05-15 07:10:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2883853002/20001
3 years, 7 months ago (2017-05-15 07:11:09 UTC) #13
commit-bot: I haz the power
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/18294) v8_linux64_gyp_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 7 months ago (2017-05-15 07:33:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2883853002/40001
3 years, 7 months ago (2017-05-15 07:55:04 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 08:33:56 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/558cee1d147947ab65fd3c99f9812093c6f...

Powered by Google App Engine
This is Rietveld 408576698