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

Issue 1998963003: Rework standalone to use a synchronous loader that does not invoke Dart code (Closed)

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

Description

Rework standalone to use a synchronous loader that does not invoke Dart code - [x] The first caller of the tag handler blocks, recursive callers queue work and exit. - [x] Use a NativeMessageHandler to receive I/O results from the service isolate. - [x] Preserve load error message format. - [x] Move packages map into service isolate. - [x] Wire up Todd's native URI code. R=turnidge@google.com Committed: https://github.com/dart-lang/sdk/commit/6fd8fd79875ec2869b7861b51bafeda592311d58

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 23

Patch Set 8 : #

Patch Set 9 : #

Total comments: 1

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1498 lines, -666 lines) Patch
M runtime/bin/builtin.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/builtin.dart View 1 2 3 4 5 6 7 8 9 15 chunks +111 lines, -580 lines 0 comments Download
M runtime/bin/builtin_common.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -4 lines 0 comments Download
M runtime/bin/builtin_impl_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/bin/dartutils.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M runtime/bin/dartutils.cc View 1 2 3 4 5 6 7 3 chunks +24 lines, -13 lines 0 comments Download
M runtime/bin/isolate_data.h View 3 chunks +15 lines, -1 line 0 comments Download
A runtime/bin/loader.h View 1 2 3 4 5 6 7 8 9 1 chunk +128 lines, -0 lines 0 comments Download
A runtime/bin/loader.cc View 1 2 3 4 5 6 7 8 9 1 chunk +539 lines, -0 lines 0 comments Download
M runtime/bin/main.cc View 1 2 3 4 5 6 3 chunks +8 lines, -6 lines 0 comments Download
M runtime/bin/vmservice/loader.dart View 1 2 3 4 5 6 7 8 9 9 chunks +572 lines, -46 lines 0 comments Download
M runtime/bin/vmservice/vmservice_io.dart View 1 2 3 4 5 6 7 8 9 5 chunks +12 lines, -3 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/lib/lib_prefix.dart View 1 2 3 4 5 6 7 1 chunk +17 lines, -9 lines 0 comments Download
M runtime/lib/vmservice.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/message_handler.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/message_handler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/port.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/port.cc View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -0 lines 0 comments Download
M runtime/vm/service_isolate.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M sdk/lib/vmservice/vmservice.dart View 1 2 3 4 5 6 7 8 9 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Cutch
Todd, Please take over this CL. The final version uploaded passes all tests: $ ./tools/test.py ...
4 years, 7 months ago (2016-05-25 22:09:52 UTC) #4
Cutch
I've merged and updated this CL. PTAL
4 years, 6 months ago (2016-06-02 15:52:06 UTC) #5
turnidge
lgtm https://codereview.chromium.org/1998963003/diff/120001/runtime/bin/builtin.dart File runtime/bin/builtin.dart (right): https://codereview.chromium.org/1998963003/diff/120001/runtime/bin/builtin.dart#newcode208 runtime/bin/builtin.dart:208: return VMLibraryHooks.packageRootString; Is this return value used? https://codereview.chromium.org/1998963003/diff/120001/runtime/bin/builtin_common.cc ...
4 years, 6 months ago (2016-06-03 17:50:25 UTC) #6
Cutch
https://codereview.chromium.org/1998963003/diff/120001/runtime/bin/builtin.dart File runtime/bin/builtin.dart (right): https://codereview.chromium.org/1998963003/diff/120001/runtime/bin/builtin.dart#newcode208 runtime/bin/builtin.dart:208: return VMLibraryHooks.packageRootString; On 2016/06/03 17:50:24, turnidge wrote: > Is ...
4 years, 6 months ago (2016-06-03 22:07:32 UTC) #7
turnidge
lgtm https://codereview.chromium.org/1998963003/diff/160001/runtime/bin/builtin.dart File runtime/bin/builtin.dart (right): https://codereview.chromium.org/1998963003/diff/160001/runtime/bin/builtin.dart#newcode370 runtime/bin/builtin.dart:370: if (response[3] is String) { I wonder if ...
4 years, 6 months ago (2016-06-03 22:42:11 UTC) #9
Cutch
4 years, 6 months ago (2016-06-06 21:15:09 UTC) #11
Message was sent while issue was closed.
Committed patchset #10 (id:180001) manually as
6fd8fd79875ec2869b7861b51bafeda592311d58 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698