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

Issue 11541002: Use call counts to prevent cold calls from being inlined. (Closed)

Created:
8 years ago by srdjan
Modified:
8 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use call counts to prevent cold calls from being inlined. Committed: https://code.google.com/p/dart/source/detail?r=16269

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -21 lines) Patch
M runtime/vm/flow_graph_inliner.cc View 1 2 3 4 5 6 7 9 chunks +60 lines, -21 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
srdjan
8 years ago (2012-12-13 22:57:06 UTC) #1
srdjan
8 years ago (2012-12-14 15:16:57 UTC) #2
Vyacheslav Egorov (Google)
https://codereview.chromium.org/11541002/diff/9001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/11541002/diff/9001/runtime/vm/flow_graph_inliner.cc#newcode41 runtime/vm/flow_graph_inliner.cc:41: "default 20%: calls above-equal 20% of max-count are inlined."); ...
8 years ago (2012-12-17 13:16:04 UTC) #3
srdjan
https://codereview.chromium.org/11541002/diff/9001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/11541002/diff/9001/runtime/vm/flow_graph_inliner.cc#newcode41 runtime/vm/flow_graph_inliner.cc:41: "default 20%: calls above-equal 20% of max-count are inlined."); ...
8 years ago (2012-12-17 22:46:13 UTC) #4
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/11541002/diff/21003/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/11541002/diff/21003/runtime/vm/flow_graph_inliner.cc#newcode250 runtime/vm/flow_graph_inliner.cc:250: call-> ic_data().AggregateCount(); remove space after ->
8 years ago (2012-12-18 11:55:51 UTC) #5
srdjan
8 years ago (2012-12-18 16:37:51 UTC) #6
Thanks!

https://codereview.chromium.org/11541002/diff/21003/runtime/vm/flow_graph_inl...
File runtime/vm/flow_graph_inliner.cc (right):

https://codereview.chromium.org/11541002/diff/21003/runtime/vm/flow_graph_inl...
runtime/vm/flow_graph_inliner.cc:250: call-> ic_data().AggregateCount();
On 2012/12/18 11:55:51, Vyacheslav Egorov (Google) wrote:
> remove space after ->

Done.

Powered by Google App Engine
This is Rietveld 408576698