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

Issue 2149993006: DBC: Make unoptimized static calls call through ICData (Closed)

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

Description

DBC: Make unoptimized static calls call through ICData Isolate reloading works by manipulating ICData. Unoptimized static calls won't go to the new function after a reload unless the calls go through the ICData. R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/43e89ccdd31db8b3a45bba246394a6ab6b4536e0

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -41 lines) Patch
M runtime/tests/vm/vm.status View 1 chunk +0 lines, -28 lines 0 comments Download
M runtime/vm/constants_dbc.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/instructions_dbc.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 3 chunks +14 lines, -10 lines 0 comments Download
M runtime/vm/intermediate_language_dbc.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M runtime/vm/isolate_reload.cc View 1 4 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/simulator_dbc.cc View 1 3 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
zra
I've made the tests pass, but I'm not sure if this is the best way ...
4 years, 5 months ago (2016-07-16 05:31:58 UTC) #3
zra
4 years, 5 months ago (2016-07-16 05:32:21 UTC) #4
Cutch
https://codereview.chromium.org/2149993006/diff/1/runtime/vm/isolate_reload.cc File runtime/vm/isolate_reload.cc (right): https://codereview.chromium.org/2149993006/diff/1/runtime/vm/isolate_reload.cc#newcode913 runtime/vm/isolate_reload.cc:913: TIR_Print("Marking %s for recompilation, clearning code\n", DBC: Use VTIR_Print ...
4 years, 5 months ago (2016-07-18 13:40:03 UTC) #6
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2149993006/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/2149993006/diff/1/runtime/vm/intermediate_language.cc#newcode3325 runtime/vm/intermediate_language.cc:3325: __ PushConstant(function()); Maybe instead of pushing function() push ...
4 years, 5 months ago (2016-07-18 13:52:46 UTC) #7
zra
Thanks! https://codereview.chromium.org/2149993006/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/2149993006/diff/1/runtime/vm/intermediate_language.cc#newcode3325 runtime/vm/intermediate_language.cc:3325: __ PushConstant(function()); On 2016/07/18 13:52:46, Vyacheslav Egorov (Google) ...
4 years, 5 months ago (2016-07-18 17:38:48 UTC) #8
zra
4 years, 5 months ago (2016-07-18 17:39:14 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
43e89ccdd31db8b3a45bba246394a6ab6b4536e0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698