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

Issue 1599393003: Use WeakMap to support Expando if available. (Closed)

Created:
4 years, 11 months ago by Lasse Reichstein Nielsen
Modified:
4 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use WeakMap to support Expando if available. Retains the existing code as fallback for settings without WeakMap for now. Fixes issue #5144 BUG= http://dartbug.com/5144 R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/75d1366dbd76566b562248a9d1ba3fbf5f339b41

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -23 lines) Patch
M runtime/lib/expando_patch.dart View 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/js_runtime/lib/core_patch.dart View 1 1 chunk +38 lines, -14 lines 0 comments Download
M tests/corelib/expando_test.dart View 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Lasse Reichstein Nielsen
4 years, 11 months ago (2016-01-19 09:29:06 UTC) #2
sra1
DBC https://codereview.chromium.org/1599393003/diff/1/sdk/lib/_internal/js_runtime/lib/core_patch.dart File sdk/lib/_internal/js_runtime/lib/core_patch.dart (right): https://codereview.chromium.org/1599393003/diff/1/sdk/lib/_internal/js_runtime/lib/core_patch.dart#newcode121 sdk/lib/_internal/js_runtime/lib/core_patch.dart:121: ? JS('Object|Null', 'new WeakMap()') Use =Object or an ...
4 years, 11 months ago (2016-01-19 16:53:40 UTC) #5
Lasse Reichstein Nielsen
https://codereview.chromium.org/1599393003/diff/1/sdk/lib/_internal/js_runtime/lib/core_patch.dart File sdk/lib/_internal/js_runtime/lib/core_patch.dart (right): https://codereview.chromium.org/1599393003/diff/1/sdk/lib/_internal/js_runtime/lib/core_patch.dart#newcode121 sdk/lib/_internal/js_runtime/lib/core_patch.dart:121: ? JS('Object|Null', 'new WeakMap()') On 2016/01/19 16:53:40, sra1 wrote: ...
4 years, 11 months ago (2016-01-19 21:05:03 UTC) #6
Siggi Cherem (dart-lang)
lgtm
4 years, 11 months ago (2016-01-20 23:37:43 UTC) #7
Lasse Reichstein Nielsen
4 years, 11 months ago (2016-01-25 11:06:11 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
75d1366dbd76566b562248a9d1ba3fbf5f339b41 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698