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

Issue 2737303003: Allow dispatch to use a range of Class-ids in tests (Closed)

Created:
3 years, 9 months ago by erikcorry
Modified:
3 years, 8 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Allow dispatch to use a range of Class-ids in tests Use polymorphic call for all multi-cid call sites Remove special hashCode code R=vegorov@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/ae8e6705c0e1dd624ec45843879294199c11e368

Patch Set 1 #

Total comments: 41

Patch Set 2 : Feedback from Slava #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+1070 lines, -576 lines) Patch
M runtime/vm/assembler_arm.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/constants_dbc.h View 1 3 chunks +197 lines, -177 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 6 chunks +22 lines, -9 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 7 chunks +69 lines, -47 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 4 chunks +41 lines, -43 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 1 4 chunks +41 lines, -42 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 3 chunks +44 lines, -35 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 4 chunks +44 lines, -36 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 4 chunks +41 lines, -37 lines 1 comment Download
M runtime/vm/flow_graph_inliner.cc View 1 22 chunks +209 lines, -52 lines 3 comments Download
M runtime/vm/intermediate_language.h View 1 3 chunks +13 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 chunks +29 lines, -12 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 chunks +29 lines, -12 lines 0 comments Download
M runtime/vm/intermediate_language_dbc.cc View 1 3 chunks +47 lines, -7 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 chunks +32 lines, -14 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 chunks +35 lines, -14 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 chunks +27 lines, -9 lines 0 comments Download
M runtime/vm/jit_optimizer.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/jit_optimizer.cc View 1 4 chunks +93 lines, -28 lines 1 comment Download
M runtime/vm/simulator_dbc.cc View 1 2 chunks +47 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
erikcorry
3 years, 9 months ago (2017-03-09 11:42:39 UTC) #1
Vyacheslav Egorov (Google)
some initial comments https://codereview.chromium.org/2737303003/diff/1/runtime/vm/constants_dbc.h File runtime/vm/constants_dbc.h (right): https://codereview.chromium.org/2737303003/diff/1/runtime/vm/constants_dbc.h#newcode175 runtime/vm/constants_dbc.h:175: // - PushPolymorphic3InstanceCall ArgC, D Better ...
3 years, 9 months ago (2017-03-10 10:31:31 UTC) #2
erikcorry
https://codereview.chromium.org/2737303003/diff/1/runtime/vm/constants_dbc.h File runtime/vm/constants_dbc.h (right): https://codereview.chromium.org/2737303003/diff/1/runtime/vm/constants_dbc.h#newcode175 runtime/vm/constants_dbc.h:175: // - PushPolymorphic3InstanceCall ArgC, D On 2017/03/10 10:31:30, Vyacheslav ...
3 years, 9 months ago (2017-03-10 13:30:02 UTC) #3
erikcorry
https://codereview.chromium.org/2737303003/diff/1/runtime/vm/jit_optimizer.cc File runtime/vm/jit_optimizer.cc (left): https://codereview.chromium.org/2737303003/diff/1/runtime/vm/jit_optimizer.cc#oldcode1503 runtime/vm/jit_optimizer.cc:1503: ? FLAG_max_equality_polymorphic_checks On 2017/03/10 13:30:01, erikcorry wrote: > On ...
3 years, 9 months ago (2017-03-10 13:36:54 UTC) #4
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2737303003/diff/20001/runtime/vm/flow_graph_compiler_x64.cc File runtime/vm/flow_graph_compiler_x64.cc (right): https://codereview.chromium.org/2737303003/diff/20001/runtime/vm/flow_graph_compiler_x64.cc#newcode1440 runtime/vm/flow_graph_compiler_x64.cc:1440: intptr_t total_ic_calls) { total_ic_calls -> total_call_count https://codereview.chromium.org/2737303003/diff/20001/runtime/vm/flow_graph_inliner.cc File ...
3 years, 9 months ago (2017-03-13 11:59:10 UTC) #5
erikcorry
Committed patchset #2 (id:20001) manually as ae8e6705c0e1dd624ec45843879294199c11e368 (presubmit successful).
3 years, 9 months ago (2017-03-15 15:08:54 UTC) #7
sra1
This regresses dart2js compile time by 5% http://146.148.43.81:8080/Benchmark?benchmark=CompileAngular-BouncyBalls#targets=dart2js-compile;machineTypes=linux-ia32;cpus=Intel Core i5
3 years, 9 months ago (2017-03-15 18:16:36 UTC) #9
Florian Schneider
https://codereview.chromium.org/2737303003/diff/20001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/2737303003/diff/20001/runtime/vm/flow_graph_inliner.cc#newcode1769 runtime/vm/flow_graph_inliner.cc:1769: RelationalOpInstr* compare_top = new RelationalOpInstr( dbc: Have you tried ...
3 years, 9 months ago (2017-03-16 20:31:40 UTC) #11
rmacnak
3 years, 8 months ago (2017-04-06 22:24:52 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/2737303003/diff/20001/runtime/vm/jit_optimize...
File runtime/vm/jit_optimizer.cc (right):

https://codereview.chromium.org/2737303003/diff/20001/runtime/vm/jit_optimize...
runtime/vm/jit_optimizer.cc:1494: Z,
Resolver::ResolveDynamicForReceiverClass(cls, name, args_desc));
This lookup introduced a race with the mutator when creating method extractors.
See issue 29230. Proposed fix in https://codereview.chromium.org/2796283006/

Powered by Google App Engine
This is Rietveld 408576698