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

Issue 148883009: Add Capability class. (Closed)

Created:
6 years, 10 months ago by Lasse Reichstein Nielsen
Modified:
6 years, 10 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Søren Gjesse, kasperl
Visibility:
Public.

Description

Add Capability class. Currently throws UnimplementedError in constructor patches. All implementation is still missing. R=floitsch@google.com, sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=32274

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changed to not require identity, only equality. #

Total comments: 1

Patch Set 3 : Fix unforgeable typos. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -0 lines) Patch
M runtime/lib/isolate_patch.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M sdk/lib/_internal/lib/isolate_patch.dart View 1 chunk +6 lines, -0 lines 0 comments Download
A sdk/lib/isolate/capability.dart View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M sdk/lib/isolate/isolate.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/isolate/isolate_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A tests/isolate/capability_test.dart View 1 chunk +22 lines, -0 lines 0 comments Download
M tests/isolate/isolate.status View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Lasse Reichstein Nielsen
I think we should start by implementing capabilities. They are unrelated to the isolate features ...
6 years, 10 months ago (2014-01-29 13:46:32 UTC) #1
floitsch
Not sure about the identity requirement. Otherwise LGTM. https://codereview.chromium.org/148883009/diff/1/sdk/lib/isolate/capability.dart File sdk/lib/isolate/capability.dart (right): https://codereview.chromium.org/148883009/diff/1/sdk/lib/isolate/capability.dart#newcode13 sdk/lib/isolate/capability.dart:13: * ...
6 years, 10 months ago (2014-01-29 15:26:25 UTC) #2
Lasse Reichstein Nielsen
https://codereview.chromium.org/148883009/diff/1/sdk/lib/isolate/capability.dart File sdk/lib/isolate/capability.dart (right): https://codereview.chromium.org/148883009/diff/1/sdk/lib/isolate/capability.dart#newcode13 sdk/lib/isolate/capability.dart:13: * A capability object preserves its identity when sent ...
6 years, 10 months ago (2014-01-29 15:58:13 UTC) #3
floitsch
https://codereview.chromium.org/148883009/diff/1/sdk/lib/isolate/capability.dart File sdk/lib/isolate/capability.dart (right): https://codereview.chromium.org/148883009/diff/1/sdk/lib/isolate/capability.dart#newcode13 sdk/lib/isolate/capability.dart:13: * A capability object preserves its identity when sent ...
6 years, 10 months ago (2014-01-29 16:52:35 UTC) #4
Søren Gjesse
lgtm
6 years, 10 months ago (2014-01-29 17:03:34 UTC) #5
Lasse Reichstein Nielsen
I'm now convinced that switching to equality, instead of identity, is an acceptable compromise. It ...
6 years, 10 months ago (2014-01-30 12:07:02 UTC) #6
Lasse Reichstein Nielsen
Ping Siva: Do you see any problems with implementing this description in the VM?
6 years, 10 months ago (2014-01-31 09:55:32 UTC) #7
Lasse Reichstein Nielsen
Ping Siva: Do you see any problems with implementing this description in the VM?
6 years, 10 months ago (2014-01-31 09:55:32 UTC) #8
kasperl
https://codereview.chromium.org/148883009/diff/20001/sdk/lib/isolate/capability.dart File sdk/lib/isolate/capability.dart (right): https://codereview.chromium.org/148883009/diff/20001/sdk/lib/isolate/capability.dart#newcode8 sdk/lib/isolate/capability.dart:8: * An unforgable object that comes back as equal ...
6 years, 10 months ago (2014-01-31 12:14:06 UTC) #9
Lasse Reichstein Nielsen
6 years, 10 months ago (2014-02-04 09:23:48 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r32274 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698