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

Issue 2993013002: Introduce IKG into kernel-service to support incremental compilation. (Closed)

Created:
3 years, 4 months ago by aam
Modified:
3 years, 4 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Introduce IKG into kernel-service to support incremental compilation. This CL also adds few hot-reload incremental kernel files tests(some pass, one is failing), which are useful to track progress of hot reload functionality in Flutter setting. BUG= R=asiva@google.com, sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/f596d440f5ffd81f2cfd386c316f3a03b0d7c69b

Patch Set 1 #

Total comments: 23

Patch Set 2 : Merge two api methods, remove incremental compiler options #

Patch Set 3 : Added a TODO for incremental compiler cleanup #

Patch Set 4 : Add comment regarding always using incremental compiler. #

Total comments: 2

Patch Set 5 : Remove extra construction #

Patch Set 6 : Use new acceptDelta api. Safe guard against no thread/isolate #

Total comments: 2

Patch Set 7 : Add TODO to add assert that isolate exists. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+558 lines, -145 lines) Patch
M runtime/include/dart_api.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M runtime/tests/vm/vm.status View 1 2 3 4 5 6 3 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M runtime/vm/isolate_reload_test.cc View 1 chunk +211 lines, -0 lines 0 comments Download
M runtime/vm/kernel_isolate.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/kernel_isolate.cc View 1 2 3 4 5 6 5 chunks +63 lines, -40 lines 0 comments Download
M runtime/vm/unit_test.h View 1 2 3 4 5 6 3 chunks +16 lines, -1 line 0 comments Download
M runtime/vm/unit_test.cc View 1 2 3 4 5 6 6 chunks +104 lines, -49 lines 0 comments Download
M utils/kernel-service/kernel-service.dart View 1 2 3 4 5 4 chunks +149 lines, -50 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
aam
PTAL, thanks!
3 years, 4 months ago (2017-08-04 01:15:06 UTC) #2
siva
https://codereview.chromium.org/2993013002/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/2993013002/diff/1/runtime/include/dart_api.h#newcode3132 runtime/include/dart_api.h:3132: Dart_SourceFile source_files[]); Could we potentially merge the two API ...
3 years, 4 months ago (2017-08-07 23:59:29 UTC) #3
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2993013002/diff/1/utils/kernel-service/kernel-service.dart File utils/kernel-service/kernel-service.dart (right): https://codereview.chromium.org/2993013002/diff/1/utils/kernel-service/kernel-service.dart#newcode44 utils/kernel-service/kernel-service.dart:44: FileSystem fs; - make final - dart style nit: ...
3 years, 4 months ago (2017-08-08 00:08:07 UTC) #4
aam
https://codereview.chromium.org/2993013002/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/2993013002/diff/1/runtime/include/dart_api.h#newcode3132 runtime/include/dart_api.h:3132: Dart_SourceFile source_files[]); On 2017/08/07 23:59:29, siva wrote: > Could ...
3 years, 4 months ago (2017-08-08 16:27:34 UTC) #5
siva
lgtm Maybe add TODO for the items that are planned for the next CL.
3 years, 4 months ago (2017-08-09 00:08:15 UTC) #6
aam
On 2017/08/09 00:08:15, siva wrote: > lgtm > > Maybe add TODO for the items ...
3 years, 4 months ago (2017-08-09 01:16:29 UTC) #7
aam
On 2017/08/09 00:08:15, siva wrote: > lgtm > > Maybe add TODO for the items ...
3 years, 4 months ago (2017-08-09 01:16:32 UTC) #8
Siggi Cherem (dart-lang)
lgtm (after deleting the old allocation of the IncrementalCompiler) https://codereview.chromium.org/2993013002/diff/1/utils/kernel-service/kernel-service.dart File utils/kernel-service/kernel-service.dart (right): https://codereview.chromium.org/2993013002/diff/1/utils/kernel-service/kernel-service.dart#newcode45 utils/kernel-service/kernel-service.dart:45: ...
3 years, 4 months ago (2017-08-09 15:57:58 UTC) #9
aam
https://codereview.chromium.org/2993013002/diff/1/utils/kernel-service/kernel-service.dart File utils/kernel-service/kernel-service.dart (right): https://codereview.chromium.org/2993013002/diff/1/utils/kernel-service/kernel-service.dart#newcode45 utils/kernel-service/kernel-service.dart:45: CompilerOptions options; On 2017/08/09 15:57:58, Siggi Cherem (dart-lang) wrote: ...
3 years, 4 months ago (2017-08-09 16:17:04 UTC) #10
aam
PTAL. I had to fix few things before submitting this: - I was not checking ...
3 years, 4 months ago (2017-08-11 13:11:40 UTC) #11
Siggi Cherem (dart-lang)
changes to kernel-service.dart lgtm
3 years, 4 months ago (2017-08-11 15:22:39 UTC) #12
siva
lgtm https://codereview.chromium.org/2993013002/diff/100001/runtime/vm/kernel_isolate.cc File runtime/vm/kernel_isolate.cc (right): https://codereview.chromium.org/2993013002/diff/100001/runtime/vm/kernel_isolate.cc#newcode348 runtime/vm/kernel_isolate.cc:348: } As discussed offline we should be able ...
3 years, 4 months ago (2017-08-14 20:50:32 UTC) #13
aam
https://codereview.chromium.org/2993013002/diff/100001/runtime/vm/kernel_isolate.cc File runtime/vm/kernel_isolate.cc (right): https://codereview.chromium.org/2993013002/diff/100001/runtime/vm/kernel_isolate.cc#newcode348 runtime/vm/kernel_isolate.cc:348: } On 2017/08/14 20:50:32, siva wrote: > As discussed ...
3 years, 4 months ago (2017-08-14 21:01:27 UTC) #14
aam
3 years, 4 months ago (2017-08-14 21:06:23 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
f596d440f5ffd81f2cfd386c316f3a03b0d7c69b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698