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

Issue 35393003: Retain script path of parent isolate when spawnFunction is called so that (Closed)

Created:
7 years, 2 months ago by siva
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix for issue 14236: Retain script path of parent isolate when spawnFunction is called so that it works when using script snapshots. The test case issue14236_test.dart is a script snapshot whose original source file path is issue14236_source.dart R=iposva@google.com, sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=29178

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -26 lines) Patch
M runtime/bin/isolate_data.h View 1 2 3 1 chunk +5 lines, -6 lines 0 comments Download
M runtime/bin/main.cc View 1 2 3 3 chunks +21 lines, -3 lines 0 comments Download
M runtime/bin/vmservice_impl.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 3 1 chunk +9 lines, -4 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 2 chunks +1 line, -10 lines 0 comments Download
M tests/standalone/io/platform_test.dart View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
A tests/standalone/issue14236_source.dart View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A tests/standalone/issue14236_test.dart View Binary file 0 comments Download
M tests/standalone/standalone.status View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
siva
7 years, 2 months ago (2013-10-22 17:20:51 UTC) #1
siva
7 years, 2 months ago (2013-10-23 16:15:35 UTC) #2
Ivan Posva
LGTM, but we should commit the original source for the snapshot too. With the only ...
7 years, 2 months ago (2013-10-23 20:59:19 UTC) #3
siva
Added the orginal source code into the repository with an expected failure if it is ...
7 years, 2 months ago (2013-10-24 00:26:22 UTC) #4
Søren Gjesse
lgtm https://codereview.chromium.org/35393003/diff/190001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/35393003/diff/190001/runtime/bin/main.cc#newcode464 runtime/bin/main.cc:464: ASSERT(isolate_data); isolate_data != NULL https://codereview.chromium.org/35393003/diff/190001/runtime/bin/main.cc#newcode465 runtime/bin/main.cc:465: ASSERT(isolate_data->script_url); isolate_data->script_url ...
7 years, 2 months ago (2013-10-24 07:21:40 UTC) #5
siva
https://codereview.chromium.org/35393003/diff/190001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/35393003/diff/190001/runtime/bin/main.cc#newcode464 runtime/bin/main.cc:464: ASSERT(isolate_data); On 2013/10/24 07:21:41, Søren Gjesse wrote: > isolate_data ...
7 years, 2 months ago (2013-10-24 16:25:03 UTC) #6
siva
Committed patchset #4 manually as r29178 (presubmit successful).
7 years, 2 months ago (2013-10-24 16:41:32 UTC) #7
Florian Schneider
7 years, 1 month ago (2013-10-25 13:34:02 UTC) #8
Message was sent while issue was closed.
On 2013/10/24 16:41:32, siva wrote:
> Committed patchset #4 manually as r29178 (presubmit successful).

I don't think it is a good idea to have a binary snapshot in the repository. Why
not make this a cc-test, create and run the snapshot via the Dart API?

Powered by Google App Engine
This is Rietveld 408576698