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

Issue 1231463002: Don't bother trying to reuse object pool entries for ICs, type test caches, or edge counters as the… (Closed)

Created:
5 years, 5 months ago by rmacnak
Modified:
5 years, 5 months 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

Don't bother trying to reuse object pool entries for ICs, type test caches, or edge counters as they will have unique entries anyway. Avoids lookups of object pool entries, which dominates in very large functions such as regex. First program from http://dartbug.com/23249 goes from 66.439s to 10.918s on X64 (6.1x). R=srdjan@google.com Committed: https://github.com/dart-lang/sdk/commit/77c206f2318260d109944567918280e9fbef0dde

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -36 lines) Patch
M runtime/vm/assembler_arm.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm.cc View 1 2 2 chunks +19 lines, -3 lines 0 comments Download
M runtime/vm/assembler_arm64.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm64.cc View 1 2 2 chunks +19 lines, -3 lines 0 comments Download
M runtime/vm/assembler_mips.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/assembler_mips.cc View 1 2 2 chunks +16 lines, -3 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 2 chunks +19 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
rmacnak
5 years, 5 months ago (2015-07-07 21:16:16 UTC) #2
srdjan
https://codereview.chromium.org/1231463002/diff/20001/runtime/vm/assembler_arm.cc File runtime/vm/assembler_arm.cc (right): https://codereview.chromium.org/1231463002/diff/20001/runtime/vm/assembler_arm.cc#newcode1601 runtime/vm/assembler_arm.cc:1601: } You could create a third function (private): LoadObjectHelper(Register ...
5 years, 5 months ago (2015-07-07 21:57:24 UTC) #3
rmacnak
https://codereview.chromium.org/1231463002/diff/20001/runtime/vm/assembler_arm.cc File runtime/vm/assembler_arm.cc (right): https://codereview.chromium.org/1231463002/diff/20001/runtime/vm/assembler_arm.cc#newcode1601 runtime/vm/assembler_arm.cc:1601: } On 2015/07/07 21:57:23, srdjan wrote: > You could ...
5 years, 5 months ago (2015-07-07 23:10:59 UTC) #4
srdjan
lgtm
5 years, 5 months ago (2015-07-07 23:21:22 UTC) #5
rmacnak
Committed patchset #3 (id:40001) manually as 77c206f2318260d109944567918280e9fbef0dde (presubmit successful).
5 years, 5 months ago (2015-07-07 23:40:33 UTC) #6
Florian Schneider
5 years, 5 months ago (2015-07-08 08:29:57 UTC) #7
Message was sent while issue was closed.
Those objects are probably unique, but wouldn't adding a proper hashcode
function to ObjIndexPair solve the problem already?

Powered by Google App Engine
This is Rietveld 408576698