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

Issue 1067383002: VM: Enable collection of unoptimized code for optimized functions. (Closed)

Created:
5 years, 8 months ago by Florian Schneider
Modified:
5 years, 8 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

VM: Enable collection of unoptimized code for optimized functions. Until now, code GC was limited to function that have not been optimized. With lazy generation of unoptimized code on deoptimization we can now collect unoptimized code for optimized functions as well. R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=45062

Patch Set 1 #

Patch Set 2 : #

Total comments: 17

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : address latest comments #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -36 lines) Patch
M runtime/vm/code_generator.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/code_patcher.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/gc_marker.cc View 1 2 3 4 5 chunks +22 lines, -3 lines 0 comments Download
M runtime/vm/object.cc View 1 2 5 chunks +6 lines, -12 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/raw_object.cc View 1 2 3 4 3 chunks +38 lines, -18 lines 0 comments Download
M runtime/vm/visitor.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
Florian Schneider
5 years, 8 months ago (2015-04-08 13:27:37 UTC) #2
Vyacheslav Egorov (Google)
https://codereview.chromium.org/1067383002/diff/20001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/1067383002/diff/20001/runtime/vm/compiler.cc#newcode981 runtime/vm/compiler.cc:981: if (optimized) { Why do we need to restore ...
5 years, 8 months ago (2015-04-09 12:23:08 UTC) #3
Florian Schneider
https://codereview.chromium.org/1067383002/diff/20001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/1067383002/diff/20001/runtime/vm/compiler.cc#newcode981 runtime/vm/compiler.cc:981: if (optimized) { On 2015/04/09 12:23:07, Vyacheslav Egorov (Google) ...
5 years, 8 months ago (2015-04-09 14:48:38 UTC) #4
Florian Schneider
https://codereview.chromium.org/1067383002/diff/20001/runtime/vm/gc_marker.cc File runtime/vm/gc_marker.cc (right): https://codereview.chromium.org/1067383002/diff/20001/runtime/vm/gc_marker.cc#newcode152 runtime/vm/gc_marker.cc:152: return &skipped_current_code_functions_; On 2015/04/09 12:23:07, Vyacheslav Egorov (Google) wrote: ...
5 years, 8 months ago (2015-04-09 14:58:43 UTC) #5
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/1067383002/diff/60001/runtime/vm/gc_marker.cc File runtime/vm/gc_marker.cc (right): https://codereview.chromium.org/1067383002/diff/60001/runtime/vm/gc_marker.cc#newcode298 runtime/vm/gc_marker.cc:298: GrowableArray<RawFunction*> skipped_functions_; I think the old name was ...
5 years, 8 months ago (2015-04-09 15:03:47 UTC) #6
Florian Schneider
https://codereview.chromium.org/1067383002/diff/60001/runtime/vm/gc_marker.cc File runtime/vm/gc_marker.cc (right): https://codereview.chromium.org/1067383002/diff/60001/runtime/vm/gc_marker.cc#newcode298 runtime/vm/gc_marker.cc:298: GrowableArray<RawFunction*> skipped_functions_; On 2015/04/09 15:03:46, Vyacheslav Egorov (Google) wrote: ...
5 years, 8 months ago (2015-04-09 15:07:50 UTC) #7
Florian Schneider
5 years, 8 months ago (2015-04-10 12:02:41 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as r45062 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698