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

Issue 15132006: Remove _WorkerStub hack to make benefit closing an isolate. (Closed)

Created:
7 years, 7 months ago by ahe
Modified:
7 years, 7 months ago
Reviewers:
ngeoffray, sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove _WorkerStub hack to make benefit closing an isolate. R=ngeoffray@google.com Committed: https://code.google.com/p/dart/source/detail?r=22669 Committed: https://code.google.com/p/dart/source/detail?r=22796

Patch Set 1 #

Total comments: 3

Patch Set 2 : Merged with TOT #

Patch Set 3 : Don't call getNativeInterceptor when it isn't generated. #

Total comments: 2

Patch Set 4 : Previous attempt #

Patch Set 5 : Fix type errors #

Total comments: 8

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -70 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart View 1 2 3 4 5 10 chunks +40 lines, -61 lines 0 comments Download
A dart/tests/isolate/isolate_stress_test.dart View 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
ahe
A tricky situation that occurred after switching native classes to use interceptors. To provoke this ...
7 years, 7 months ago (2013-05-13 16:59:37 UTC) #1
sra1
I never understood the hack so I'll let Nicolas review it. https://chromiumcodereview.appspot.com/15132006/diff/1/dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart File dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart (right): ...
7 years, 7 months ago (2013-05-14 03:25:28 UTC) #2
ahe
https://chromiumcodereview.appspot.com/15132006/diff/1/dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart File dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart (right): https://chromiumcodereview.appspot.com/15132006/diff/1/dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart#newcode538 dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart:538: static getId(/* Worker or _ManagerStub */ worker) { On ...
7 years, 7 months ago (2013-05-14 06:11:10 UTC) #3
ngeoffray
LGTM! Thanks for fixing this Peter. @Stephen: What would be the best place to assert ...
7 years, 7 months ago (2013-05-14 07:23:43 UTC) #4
ahe
Committed patchset #3 manually as r22669 (presubmit successful).
7 years, 7 months ago (2013-05-14 11:16:52 UTC) #5
ngeoffray
DBC https://codereview.chromium.org/15132006/diff/10001/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/15132006/diff/10001/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode2500 dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:2500: // checks and needs to handle 'native' classes ...
7 years, 7 months ago (2013-05-14 11:20:47 UTC) #6
ahe
I reopened bug 9556. https://codereview.chromium.org/15132006/diff/10001/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/15132006/diff/10001/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode2500 dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:2500: // checks and needs to ...
7 years, 7 months ago (2013-05-14 11:38:53 UTC) #7
ahe
PTAL
7 years, 7 months ago (2013-05-14 18:27:15 UTC) #8
ngeoffray
https://codereview.chromium.org/15132006/diff/23001/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right): https://codereview.chromium.org/15132006/diff/23001/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#newcode2526 dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:2526: // TODO(9556): Remove 'holders'. The general interceptor is used ...
7 years, 7 months ago (2013-05-15 08:33:10 UTC) #9
ahe
Thank you for taking a look. https://codereview.chromium.org/15132006/diff/23001/dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart File dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart (right): https://codereview.chromium.org/15132006/diff/23001/dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart#newcode398 dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart:398: JS("void", r"self.postMessage(#)", msg); ...
7 years, 7 months ago (2013-05-15 09:06:30 UTC) #10
ngeoffray
LGTM https://codereview.chromium.org/15132006/diff/23001/dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart File dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart (right): https://codereview.chromium.org/15132006/diff/23001/dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart#newcode398 dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart:398: JS("void", r"self.postMessage(#)", msg); On 2013/05/15 09:06:30, ahe wrote: ...
7 years, 7 months ago (2013-05-15 09:09:56 UTC) #11
ahe
https://codereview.chromium.org/15132006/diff/23001/dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart File dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart (right): https://codereview.chromium.org/15132006/diff/23001/dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart#newcode398 dart/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart:398: JS("void", r"self.postMessage(#)", msg); On 2013/05/15 09:09:56, ngeoffray wrote: > ...
7 years, 7 months ago (2013-05-15 09:19:08 UTC) #12
ahe
7 years, 7 months ago (2013-05-16 14:41:56 UTC) #13
ahe
7 years, 7 months ago (2013-05-16 15:06:49 UTC) #14
Message was sent while issue was closed.
Committed patchset #6 manually as r22796 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698