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

Issue 742873002: Isolates: allow sending of arbitrary objects in dart2js. (Closed)

Created:
6 years, 1 month ago by floitsch
Modified:
6 years ago
CC:
reviews_dartlang.org, Ivan Posva, zarah
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Tests pass now. #

Patch Set 3 : Cleanup and test. #

Patch Set 4 : Remove bad comments. #

Patch Set 5 : Remove unnecessary comment. #

Total comments: 32

Patch Set 6 : Address comments and map-serialization fix. #

Total comments: 6

Patch Set 7 : Rebase #

Patch Set 8 : Refeactor merge. #

Patch Set 9 : Address comments. #

Patch Set 10 : Fix bad merge. #

Patch Set 11 : Change comment. #

Total comments: 6

Patch Set 12 : Address comments. #

Total comments: 1

Patch Set 13 : Replace TODOs in status file with actual bug numbers. rebase. #

Patch Set 14 : Update status file for new test. #

Patch Set 15 : Update issue number. #

Patch Set 16 : Rebase after revert. #

Patch Set 17 : Support CSP mode. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1012 lines, -613 lines) Patch
M pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 9 chunks +126 lines, -57 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/collection_patch.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/isolate_helper.dart View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +34 lines, -441 lines 0 comments Download
A sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +361 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_helper.dart View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/native_helper.dart View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart View 1 chunk +5 lines, -1 line 0 comments Download
M tests/isolate/function_send_test.dart View 1 1 chunk +6 lines, -7 lines 0 comments Download
M tests/isolate/isolate.status View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +13 lines, -10 lines 0 comments Download
A tests/isolate/message3_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +438 lines, -0 lines 0 comments Download
M tests/isolate/object_leak_test.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +12 lines, -14 lines 0 comments Download
D tests/isolate/serialization_test.dart View 1 2 1 chunk +0 lines, -78 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (1 generated)
floitsch
@lrn: please review as much as possible, but at the very least the isolate and ...
6 years, 1 month ago (2014-11-21 19:39:00 UTC) #2
sigurdm
lgtm https://codereview.chromium.org/742873002/diff/80001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://codereview.chromium.org/742873002/diff/80001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode255 pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart:255: List get defineClassFunction { List<js.Expression> ? https://codereview.chromium.org/742873002/diff/80001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode322 pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart:322: ...
6 years ago (2014-11-24 09:06:09 UTC) #3
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/742873002/diff/80001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://codereview.chromium.org/742873002/diff/80001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode278 pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart:278: if (#hasIsolateSupport) { var fieldNames = ""; } ...
6 years ago (2014-11-24 12:55:42 UTC) #4
floitsch
https://codereview.chromium.org/742873002/diff/80001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://codereview.chromium.org/742873002/diff/80001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode255 pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart:255: List get defineClassFunction { On 2014/11/24 09:06:09, sigurdm wrote: ...
6 years ago (2014-11-24 15:06:58 UTC) #5
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart File sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart (right): https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart#newcode118 sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart:118: JS('bool', 'x.constructor !== Object')) { Still document what ...
6 years ago (2014-11-24 15:37:05 UTC) #6
sra1
Can you refresh the patch? I was unable to patch against HEAD. What is the ...
6 years ago (2014-11-24 18:18:06 UTC) #7
floitsch
https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart File sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart (right): https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart#newcode118 sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart:118: JS('bool', 'x.constructor !== Object')) { On 2014/11/24 15:37:05, Lasse ...
6 years ago (2014-11-25 12:32:18 UTC) #8
floitsch
On 2014/11/24 18:18:06, sra1 wrote: > Can you refresh the patch? I was unable to ...
6 years ago (2014-11-25 12:55:03 UTC) #9
Lasse Reichstein Nielsen
https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart File sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart (right): https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart#newcode118 sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart:118: JS('bool', 'x.constructor !== Object')) { Not sure what "direct ...
6 years ago (2014-11-25 13:07:53 UTC) #10
floitsch
https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart File sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart (right): https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart#newcode118 sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart:118: JS('bool', 'x.constructor !== Object')) { On 2014/11/25 13:07:53, Lasse ...
6 years ago (2014-11-25 13:39:19 UTC) #11
floitsch
On 2014/11/25 13:39:19, floitsch wrote: > https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart > File sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart (right): > > https://codereview.chromium.org/742873002/diff/90001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart#newcode118 > ...
6 years ago (2014-12-02 12:16:00 UTC) #12
sra1
Sorry for the delay. I think typed data is probably a bit messed up. On ...
6 years ago (2014-12-03 00:53:52 UTC) #13
floitsch
PTAL. https://chromiumcodereview.appspot.com/742873002/diff/190001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart File sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart (right): https://chromiumcodereview.appspot.com/742873002/diff/190001/sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart#newcode50 sdk/lib/_internal/compiler/js_lib/isolate_serialization.dart:50: if (x is Interceptor) unsupported(x); On 2014/12/03 00:53:52, ...
6 years ago (2014-12-04 16:16:19 UTC) #14
sra1
lgtm https://chromiumcodereview.appspot.com/742873002/diff/210001/tests/isolate/isolate.status File tests/isolate/isolate.status (right): https://chromiumcodereview.appspot.com/742873002/diff/210001/tests/isolate/isolate.status#newcode8 tests/isolate/isolate.status:8: message3_test/constList_identical: RuntimeError # Issue TODO If possible create ...
6 years ago (2014-12-04 19:02:12 UTC) #15
floitsch
6 years ago (2014-12-08 10:49:53 UTC) #16
floitsch
Committed patchset #15 (id:270001) manually as 42161 (presubmit successful).
6 years ago (2014-12-08 13:28:43 UTC) #17
floitsch
Had to revert. Patch set 16 contains a rebased version of the CL. This CL ...
6 years ago (2014-12-09 14:11:07 UTC) #18
floitsch
On 2014/12/09 14:11:07, floitsch wrote: > Had to revert. > Patch set 16 contains a ...
6 years ago (2014-12-09 14:11:52 UTC) #19
floitsch
@lrn, sigurdm: PTAL. (Use diff between Patchset 16 and 17 to see the changes needed ...
6 years ago (2014-12-09 14:51:41 UTC) #20
floitsch
@zarah: fyi. I'm maybe conflicting with your changes.
6 years ago (2014-12-09 14:53:00 UTC) #21
sigurdm
lgtm
6 years ago (2014-12-09 15:34:18 UTC) #22
floitsch
6 years ago (2014-12-09 16:42:14 UTC) #23
Message was sent while issue was closed.
Committed patchset #17 (id:310001) manually as 42209 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698