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

Issue 1386503002: Initial design for background compilation (Closed)

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

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 12

Patch Set 3 : Address comments #

Total comments: 4

Patch Set 4 : More cleanups #

Total comments: 5

Patch Set 5 : Address review comments #

Total comments: 2

Patch Set 6 : Cleanup #

Total comments: 14

Patch Set 7 : Address Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -6 lines) Patch
M runtime/vm/code_generator.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M runtime/vm/compiler.h View 1 2 3 4 5 6 2 chunks +30 lines, -0 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 3 4 5 6 1 chunk +160 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/vm/gc_marker.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 5 6 5 chunks +15 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 7 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 17 (2 generated)
srdjan
Missing pieces for making it work: - Move VM tags from isolates to thread (next ...
5 years, 2 months ago (2015-10-01 21:48:33 UTC) #2
koda
Initial comments. https://codereview.chromium.org/1386503002/diff/20001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/1386503002/diff/20001/runtime/vm/compiler.cc#newcode1474 runtime/vm/compiler.cc:1474: // bool_ is owned by 'Stop', do ...
5 years, 2 months ago (2015-10-01 22:27:02 UTC) #3
srdjan
https://codereview.chromium.org/1386503002/diff/20001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/1386503002/diff/20001/runtime/vm/compiler.cc#newcode1474 runtime/vm/compiler.cc:1474: // bool_ is owned by 'Stop', do not delete ...
5 years, 2 months ago (2015-10-01 23:11:24 UTC) #4
Florian Schneider
dbc: https://codereview.chromium.org/1386503002/diff/40001/runtime/vm/thread_registry.cc File runtime/vm/thread_registry.cc (right): https://codereview.chromium.org/1386503002/diff/40001/runtime/vm/thread_registry.cc#newcode7 runtime/vm/thread_registry.cc:7: #include "vm/compiler.h" There is no other change in ...
5 years, 2 months ago (2015-10-02 11:10:33 UTC) #6
srdjan
https://codereview.chromium.org/1386503002/diff/40001/runtime/vm/thread_registry.cc File runtime/vm/thread_registry.cc (right): https://codereview.chromium.org/1386503002/diff/40001/runtime/vm/thread_registry.cc#newcode7 runtime/vm/thread_registry.cc:7: #include "vm/compiler.h" On 2015/10/02 11:10:32, Florian Schneider wrote: > ...
5 years, 2 months ago (2015-10-02 15:24:13 UTC) #7
koda
https://codereview.chromium.org/1386503002/diff/40001/runtime/vm/thread_registry.cc File runtime/vm/thread_registry.cc (right): https://codereview.chromium.org/1386503002/diff/40001/runtime/vm/thread_registry.cc#newcode7 runtime/vm/thread_registry.cc:7: #include "vm/compiler.h" Remove. https://codereview.chromium.org/1386503002/diff/60001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/1386503002/diff/60001/runtime/vm/code_generator.cc#newcode1455 runtime/vm/code_generator.cc:1455: ...
5 years, 2 months ago (2015-10-02 16:53:47 UTC) #8
srdjan
https://codereview.chromium.org/1386503002/diff/40001/runtime/vm/thread_registry.cc File runtime/vm/thread_registry.cc (right): https://codereview.chromium.org/1386503002/diff/40001/runtime/vm/thread_registry.cc#newcode7 runtime/vm/thread_registry.cc:7: #include "vm/compiler.h" On 2015/10/02 16:53:46, koda wrote: > Remove. ...
5 years, 2 months ago (2015-10-02 18:19:20 UTC) #9
koda
https://codereview.chromium.org/1386503002/diff/60001/runtime/vm/compiler.h File runtime/vm/compiler.h (right): https://codereview.chromium.org/1386503002/diff/60001/runtime/vm/compiler.h#newcode104 runtime/vm/compiler.h:104: class CompileOptimizedTask : public ThreadPool::Task { On 2015/10/02 18:19:20, ...
5 years, 2 months ago (2015-10-02 18:58:05 UTC) #10
srdjan
https://codereview.chromium.org/1386503002/diff/80001/runtime/vm/isolate.h File runtime/vm/isolate.h (right): https://codereview.chromium.org/1386503002/diff/80001/runtime/vm/isolate.h#newcode604 runtime/vm/isolate.h:604: BackgroundCompiler* compile_optimized_task() const { On 2015/10/02 18:58:05, koda wrote: ...
5 years, 2 months ago (2015-10-02 19:44:57 UTC) #11
koda
Will you add a unit test that sets the flag, to exercise the code?
5 years, 2 months ago (2015-10-03 00:11:55 UTC) #12
srdjan
On 2015/10/03 00:11:55, koda wrote: > Will you add a unit test that sets the ...
5 years, 2 months ago (2015-10-05 17:48:19 UTC) #13
koda
https://codereview.chromium.org/1386503002/diff/100001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/1386503002/diff/100001/runtime/vm/compiler.cc#newcode1408 runtime/vm/compiler.cc:1408: class CompilationWorkQueue : public ValueObject { Be consistent w.r.t. ...
5 years, 2 months ago (2015-10-05 18:13:00 UTC) #14
srdjan
PTAL https://codereview.chromium.org/1386503002/diff/100001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/1386503002/diff/100001/runtime/vm/compiler.cc#newcode1408 runtime/vm/compiler.cc:1408: class CompilationWorkQueue : public ValueObject { On 2015/10/05 ...
5 years, 2 months ago (2015-10-05 19:16:47 UTC) #15
koda
lgtm
5 years, 2 months ago (2015-10-05 19:22:54 UTC) #16
srdjan
5 years, 2 months ago (2015-10-05 19:29:44 UTC) #17
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
193eadbc10399325cd083b519445b7bc71c944ca (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698