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

Issue 1513883002: Polymorphic calls in precompilation invoke megamorphic calls when tests fail (instead of deoptimizi… (Closed)

Created:
5 years ago by srdjan
Modified:
5 years ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Polymorphic calls in precompilation invoke megamorphic calls when tests fail (instead of deoptimizing). Move the megamorphic call into a slow path stub. Cleanups. Allow truning off speculative inlining if --max_speculative_inlining_attempts <=0 BUG= R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/3a46cc28b775c5a9df0ea40133f78e18e2f873be

Patch Set 1 #

Patch Set 2 : Simplify #

Patch Set 3 : Fixes #

Patch Set 4 : h #

Patch Set 5 : s #

Patch Set 6 : g #

Total comments: 12

Patch Set 7 : Comments #

Total comments: 2

Patch Set 8 : Comments #

Patch Set 9 : g #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -72 lines) Patch
M runtime/vm/compiler.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 2 3 2 chunks +39 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -10 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 3 4 5 6 5 chunks +33 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 1 2 3 4 5 6 5 chunks +33 lines, -7 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 4 5 6 5 chunks +19 lines, -4 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 3 4 5 6 5 chunks +33 lines, -7 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 4 5 6 5 chunks +33 lines, -7 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 6 7 4 chunks +26 lines, -25 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
srdjan
5 years ago (2015-12-10 20:31:25 UTC) #3
Florian Schneider
https://codereview.chromium.org/1513883002/diff/90001/runtime/vm/flow_graph_compiler_arm.cc File runtime/vm/flow_graph_compiler_arm.cc (right): https://codereview.chromium.org/1513883002/diff/90001/runtime/vm/flow_graph_compiler_arm.cc#newcode35 runtime/vm/flow_graph_compiler_arm.cc:35: Assembler* assem = compiler->assembler(); s/assem/assembler/ https://codereview.chromium.org/1513883002/diff/90001/runtime/vm/flow_graph_compiler_arm.cc#newcode1292 runtime/vm/flow_graph_compiler_arm.cc:1292: AddCurrentDescriptor(RawPcDescriptors::kOther, Thread::kNoDeoptId, ...
5 years ago (2015-12-14 16:07:03 UTC) #4
srdjan
PTAL https://codereview.chromium.org/1513883002/diff/90001/runtime/vm/flow_graph_compiler_arm.cc File runtime/vm/flow_graph_compiler_arm.cc (right): https://codereview.chromium.org/1513883002/diff/90001/runtime/vm/flow_graph_compiler_arm.cc#newcode35 runtime/vm/flow_graph_compiler_arm.cc:35: Assembler* assem = compiler->assembler(); On 2015/12/14 16:07:03, Florian ...
5 years ago (2015-12-15 17:52:03 UTC) #5
Florian Schneider
lgtm https://codereview.chromium.org/1513883002/diff/110001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/1513883002/diff/110001/runtime/vm/flow_graph_optimizer.cc#newcode257 runtime/vm/flow_graph_optimizer.cc:257: if (FLAG_precompilation && Maybe use Compiler::always_optimize() like in ...
5 years ago (2015-12-15 18:02:34 UTC) #6
srdjan
https://codereview.chromium.org/1513883002/diff/110001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/1513883002/diff/110001/runtime/vm/flow_graph_optimizer.cc#newcode257 runtime/vm/flow_graph_optimizer.cc:257: if (FLAG_precompilation && On 2015/12/15 18:02:34, Florian Schneider wrote: ...
5 years ago (2015-12-15 18:28:25 UTC) #7
srdjan
5 years ago (2015-12-15 20:34:59 UTC) #9
Message was sent while issue was closed.
Committed patchset #9 (id:150001) manually as
3a46cc28b775c5a9df0ea40133f78e18e2f873be (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698