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

Issue 1920103004: Added flag --inline_smi_string_hashcode and --inline_smi_string_hashcode_ratio to decide when/if sh… (Closed)

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

Description

Added flag --inline_smi_string_hashcode and --inline_smi_string_hashcode_ratio to decide when/if should Smi/OnebyteString hashcode be inlined before calling megamorphic. Improve code as suggested by zra. Added flag --display_sorted_ic_data which displays ICData as sorted by count, unary ICData (e.g., in disassembly). BUG= R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/4ea8b39157b9c22fd11084a5ebd1744541fd72e9

Patch Set 1 #

Total comments: 23

Patch Set 2 : Review addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -29 lines) Patch
M runtime/vm/flow_graph_compiler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 chunks +29 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 1 chunk +4 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M runtime/vm/il_printer.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 7 chunks +48 lines, -7 lines 0 comments Download
M runtime/vm/object.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 1 chunk +75 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
srdjan
4 years, 8 months ago (2016-04-26 23:25:03 UTC) #2
zra
https://codereview.chromium.org/1920103004/diff/1/runtime/vm/flow_graph_compiler.cc File runtime/vm/flow_graph_compiler.cc (right): https://codereview.chromium.org/1920103004/diff/1/runtime/vm/flow_graph_compiler.cc#newcode165 runtime/vm/flow_graph_compiler.cc:165: if (!FLAG_inline_smi_string_hashcode) return false; Please add curly braces. Maybe ...
4 years, 7 months ago (2016-04-27 16:28:17 UTC) #3
srdjan
Thanks, PTAL https://codereview.chromium.org/1920103004/diff/1/runtime/vm/flow_graph_compiler.cc File runtime/vm/flow_graph_compiler.cc (right): https://codereview.chromium.org/1920103004/diff/1/runtime/vm/flow_graph_compiler.cc#newcode165 runtime/vm/flow_graph_compiler.cc:165: if (!FLAG_inline_smi_string_hashcode) return false; On 2016/04/27 16:28:17, ...
4 years, 7 months ago (2016-04-27 18:10:22 UTC) #4
zra
lgtm
4 years, 7 months ago (2016-04-27 18:19:57 UTC) #5
srdjan
4 years, 7 months ago (2016-04-27 20:28:08 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
4ea8b39157b9c22fd11084a5ebd1744541fd72e9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698