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

Issue 19429002: ES6: Implement WeakSet (Closed)

Created:
7 years, 5 months ago by arv (Not doing code reviews)
Modified:
7 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

ES6: Implement WeakSet WeakSets work similar to ordinary Sets but the value (which must be an object) is held weakly. This is implemented using a WeakMap internally. This is available under --harmony-collections BUG=v8:2785

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : Fix enumerable and expand tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -5 lines) Patch
M src/collection.js View 1 2 1 chunk +91 lines, -0 lines 0 comments Download
M src/messages.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/harmony/collections.js View 1 2 10 chunks +60 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
arv (Not doing code reviews)
7 years, 5 months ago (2013-07-16 22:14:22 UTC) #1
Michael Starzinger
I'll do a technical review. Adding Andreas and Dmitry for a procedural aspects of adding/launching ...
7 years, 5 months ago (2013-07-17 09:46:32 UTC) #2
Dmitry Lomov (no reviews)
Re launching new features, I think this is fine. WeakSet is in July 16th ES6 ...
7 years, 5 months ago (2013-07-17 10:58:51 UTC) #3
Michael Starzinger
https://codereview.chromium.org/19429002/diff/2001/src/collection.js File src/collection.js (right): https://codereview.chromium.org/19429002/diff/2001/src/collection.js#newcode333 src/collection.js:333: var weaksetDataSymbol = %CreateSymbol(void 0); This requires that Symbols ...
7 years, 5 months ago (2013-07-17 12:56:41 UTC) #4
arv (Not doing code reviews)
Moving things to C++ would make this a lot more complex. However, it does seem ...
7 years, 5 months ago (2013-07-17 15:26:26 UTC) #5
Michael Starzinger
I could be convinced to land the current approach (without adding a separate instance type ...
7 years, 5 months ago (2013-07-18 08:33:18 UTC) #6
rossberg
On 2013/07/18 08:33:18, Michael Starzinger wrote: > I could be convinced to land the current ...
7 years, 5 months ago (2013-07-18 09:22:09 UTC) #7
arv (Not doing code reviews)
Committed as https://code.google.com/p/v8/source/detail?r=15792
7 years, 5 months ago (2013-07-23 17:11:38 UTC) #8
arv (Not doing code reviews)
7 years, 5 months ago (2013-07-23 17:11:54 UTC) #9
On 2013/07/23 17:11:38, arv wrote:
> Committed as https://code.google.com/p/v8/source/detail?r=15792

Using a different approach...

Powered by Google App Engine
This is Rietveld 408576698