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

Issue 545483002: Per isolate package root. (Closed)

Created:
6 years, 3 months ago by Anders Johnsen
Modified:
6 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Bob Nystrom, Lasse Reichstein Nielsen, floitsch
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Inherite parent package root (implemented in embedder). #

Patch Set 3 : Rebase. #

Patch Set 4 : all -> any #

Patch Set 5 : #

Total comments: 18

Patch Set 6 : Address review comments. #

Total comments: 10

Patch Set 7 : Clean up main.cc #

Total comments: 2

Patch Set 8 : Add test. #

Patch Set 9 : Fixed test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -29 lines) Patch
M runtime/bin/isolate_data.h View 1 1 chunk +9 lines, -2 lines 0 comments Download
M runtime/bin/main.cc View 1 2 3 4 5 6 7 8 chunks +17 lines, -16 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/lib/isolate.cc View 1 2 3 4 5 4 chunks +15 lines, -3 lines 0 comments Download
M runtime/lib/isolate_patch.dart View 1 2 3 4 5 6 7 2 chunks +6 lines, -4 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -0 lines 0 comments Download
M sdk/lib/isolate/isolate.dart View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M tests/isolate/isolate.status View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
A tests/isolate/package_root_test.dart View 1 2 3 4 5 6 7 8 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
Anders Johnsen
The Isolate.spawnUri packageRoot flag implementation, as discussed. You should be able to apply this directly ...
6 years, 3 months ago (2014-09-05 09:20:45 UTC) #2
Ivan Posva
First set of comments. Adding Todd to make sure the Dart C API changes fit ...
6 years, 3 months ago (2014-09-08 05:46:35 UTC) #4
turnidge
https://codereview.chromium.org/545483002/diff/80001/runtime/lib/isolate.cc File runtime/lib/isolate.cc (right): https://codereview.chromium.org/545483002/diff/80001/runtime/lib/isolate.cc#newcode215 runtime/lib/isolate.cc:215: NULL); Please add the package_root to IsolateSpawnState as a ...
6 years, 3 months ago (2014-09-08 16:40:48 UTC) #5
turnidge
https://codereview.chromium.org/545483002/diff/80001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/545483002/diff/80001/runtime/bin/main.cc#newcode662 runtime/bin/main.cc:662: isolate_data, You are treating script_uri and package_root assymetrically here. ...
6 years, 3 months ago (2014-09-08 19:47:01 UTC) #6
Anders Johnsen
Good feedback, PTAL! I agree that the CreateIsolateAndSetupHelper is not very well organized at this ...
6 years, 3 months ago (2014-09-09 06:45:44 UTC) #7
turnidge
LGTM w/ 1 moderately-sized comment below. Also please wait on Ivan's LGTM. https://codereview.chromium.org/545483002/diff/100001/runtime/bin/main.cc File runtime/bin/main.cc ...
6 years, 3 months ago (2014-09-09 15:46:42 UTC) #8
Anders Johnsen
That was more or less the cleanup I had in mind - done. :) Siva, ...
6 years, 3 months ago (2014-09-10 05:42:17 UTC) #10
Ivan Posva
LGTM -Ivan https://codereview.chromium.org/545483002/diff/120001/runtime/lib/isolate_patch.dart File runtime/lib/isolate_patch.dart (right): https://codereview.chromium.org/545483002/diff/120001/runtime/lib/isolate_patch.dart#newcode284 runtime/lib/isolate_patch.dart:284: var packageRootString; var packageRootString = (packageRoot == ...
6 years, 3 months ago (2014-09-19 16:50:17 UTC) #11
Anders Johnsen
https://codereview.chromium.org/545483002/diff/120001/runtime/lib/isolate_patch.dart File runtime/lib/isolate_patch.dart (right): https://codereview.chromium.org/545483002/diff/120001/runtime/lib/isolate_patch.dart#newcode284 runtime/lib/isolate_patch.dart:284: var packageRootString; On 2014/09/19 16:50:17, Ivan Posva wrote: > ...
6 years, 3 months ago (2014-09-22 07:08:33 UTC) #12
Søren Gjesse
Test lgtm
6 years, 3 months ago (2014-09-22 07:19:53 UTC) #14
Anders Johnsen
Committed patchset #8 (id:140001) manually as 40534 (presubmit successful).
6 years, 3 months ago (2014-09-22 08:07:20 UTC) #15
Anders Johnsen
Reverted, as Dartium is closed atm.
6 years, 3 months ago (2014-09-22 11:13:57 UTC) #16
nweiz
On 2014/09/22 11:13:57, Anders Johnsen wrote: > Reverted, as Dartium is closed atm. So close! ...
6 years, 3 months ago (2014-09-22 17:49:16 UTC) #17
Anders Johnsen
6 years, 3 months ago (2014-09-23 05:42:56 UTC) #19
ricow1
only reviewed patchset 8 changes, rest already covered, lgtm
6 years, 3 months ago (2014-09-23 05:45:28 UTC) #20
Anders Johnsen
Committed patchset #9 (id:160001) manually as 40581 (presubmit successful).
6 years, 3 months ago (2014-09-23 05:46:30 UTC) #21
terry
6 years, 3 months ago (2014-09-23 14:32:56 UTC) #22
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as 40593 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698