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

Issue 11567012: Store optimized flow graph statistics on the function itself. (Closed)

Created:
8 years ago by Vyacheslav Egorov (Google)
Modified:
8 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Store optimized flow graph statistics on the function itself. This gives a good estimate for an early bailout from the inlining attempt. BUG= Committed: https://code.google.com/p/dart/source/detail?r=16212

Patch Set 1 #

Total comments: 14

Patch Set 2 : address Kevin's comments #

Patch Set 3 : address Srdjan's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -1 line) Patch
M runtime/vm/flow_graph_inliner.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 5 chunks +45 lines, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Vyacheslav Egorov (Google)
FYI
8 years ago (2012-12-13 16:27:53 UTC) #1
Kevin Millikin (Google)
https://codereview.chromium.org/11567012/diff/1/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/11567012/diff/1/runtime/vm/compiler.cc#newcode188 runtime/vm/compiler.cc:188: FlowGraphInliner::CollectGraphInfo(flow_graph); Why not move this down into FlowGraphInliner::Inline()? Just ...
8 years ago (2012-12-13 16:43:40 UTC) #2
Vyacheslav Egorov (Google)
PTAL https://codereview.chromium.org/11567012/diff/1/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/11567012/diff/1/runtime/vm/compiler.cc#newcode188 runtime/vm/compiler.cc:188: FlowGraphInliner::CollectGraphInfo(flow_graph); On 2012/12/13 16:43:40, kmillikin wrote: > Why ...
8 years ago (2012-12-13 18:54:46 UTC) #3
srdjan
https://codereview.chromium.org/11567012/diff/1/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/11567012/diff/1/runtime/vm/flow_graph_inliner.cc#newcode360 runtime/vm/flow_graph_inliner.cc:360: TRACE_INLINING(OS::Print(" Bailout: early heuristics\n")); Maybe print also the arguments ...
8 years ago (2012-12-13 19:00:17 UTC) #4
Vyacheslav Egorov (Google)
https://codereview.chromium.org/11567012/diff/1/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/11567012/diff/1/runtime/vm/flow_graph_inliner.cc#newcode360 runtime/vm/flow_graph_inliner.cc:360: TRACE_INLINING(OS::Print(" Bailout: early heuristics\n")); On 2012/12/13 19:00:17, srdjan wrote: ...
8 years ago (2012-12-13 19:14:11 UTC) #5
srdjan
lgtm
8 years ago (2012-12-13 19:16:41 UTC) #6
srdjan
8 years ago (2012-12-13 19:16:46 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698