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

Issue 2781483005: Improve internal compiler API so that OSR code is never installed on function. (Closed)

Created:
3 years, 8 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

Improve internal compiler API so that OSR code is never installed on function. This is forked off and a prerequisite for https://codereview.chromium.org/2771013002/ which is itself a prerequisite for a change to make fewer old-space allocations in the optimizing compiler, which is in turn a fix for the performance regression in https://codereview.chromium.org/2737303003 Fixes dart-lang/sdk#29160 R=vegorov@google.com BUG=http://dartbug.com/29160 Committed: https://github.com/dart-lang/sdk/commit/48607be33dbfff82c877f04646b4fae64c7ff91c

Patch Set 1 #

Total comments: 22

Patch Set 2 : Vegorov feedback #

Total comments: 6

Patch Set 3 : cosmetics #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -152 lines) Patch
M runtime/lib/mirrors.cc View 1 1 chunk +1 line, -8 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 8 chunks +16 lines, -61 lines 0 comments Download
M runtime/vm/compiler.h View 2 chunks +12 lines, -8 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 28 chunks +66 lines, -60 lines 0 comments Download
M runtime/vm/dart_entry.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/vm/object.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 3 chunks +24 lines, -6 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/unit_test.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
erikcorry
3 years, 8 months ago (2017-03-28 15:52:22 UTC) #1
Vyacheslav Egorov (Google)
https://codereview.chromium.org/2781483005/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/2781483005/diff/1/runtime/lib/mirrors.cc#newcode99 runtime/lib/mirrors.cc:99: const Object& result = There are a lot of ...
3 years, 8 months ago (2017-03-30 09:58:53 UTC) #5
erikcorry
https://codereview.chromium.org/2781483005/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/2781483005/diff/1/runtime/lib/mirrors.cc#newcode99 runtime/lib/mirrors.cc:99: const Object& result = On 2017/03/30 09:58:52, Vyacheslav Egorov ...
3 years, 8 months ago (2017-03-30 12:26:34 UTC) #6
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2781483005/diff/20001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/2781483005/diff/20001/runtime/vm/compiler.cc#newcode643 runtime/vm/compiler.cc:643: code ^= Code::null(); code = Code::null() should also ...
3 years, 8 months ago (2017-03-30 13:25:01 UTC) #7
erikcorry
https://codereview.chromium.org/2781483005/diff/20001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/2781483005/diff/20001/runtime/vm/compiler.cc#newcode643 runtime/vm/compiler.cc:643: code ^= Code::null(); On 2017/03/30 13:25:01, Vyacheslav Egorov (Google) ...
3 years, 8 months ago (2017-03-30 13:33:33 UTC) #8
erikcorry
https://codereview.chromium.org/2781483005/diff/20001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/2781483005/diff/20001/runtime/vm/compiler.cc#newcode643 runtime/vm/compiler.cc:643: code ^= Code::null(); On 2017/03/30 13:25:01, Vyacheslav Egorov (Google) ...
3 years, 8 months ago (2017-03-30 13:33:34 UTC) #9
erikcorry
3 years, 8 months ago (2017-03-30 13:40:14 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
48607be33dbfff82c877f04646b4fae64c7ff91c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698