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

Issue 7553012: Prototype of mark-and-compact support for Harmony weak maps. (Closed)

Created:
9 years, 4 months ago by Michael Starzinger
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Prototype of mark-and-compact support for Harmony weak maps. R=vegorov@chromium.org BUG=v8:1565 TEST=cctest/test-weakmaps Committed: http://code.google.com/p/v8/source/detail?r=8817

Patch Set 1 #

Total comments: 10

Patch Set 2 : Incorporated review by Vyacheslav Egorov. #

Total comments: 2

Patch Set 3 : Removed commented stress test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -27 lines) Patch
M src/heap.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/heap.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/mark-compact.h View 1 3 chunks +16 lines, -0 lines 0 comments Download
M src/mark-compact.cc View 1 6 chunks +93 lines, -14 lines 0 comments Download
M src/objects.h View 1 3 chunks +17 lines, -2 lines 0 comments Download
M src/objects.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/objects-inl.h View 2 chunks +11 lines, -0 lines 0 comments Download
M src/objects-visiting.h View 3 chunks +8 lines, -5 lines 0 comments Download
M src/objects-visiting.cc View 2 chunks +3 lines, -1 line 0 comments Download
M src/runtime.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/SConscript View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/cctest.status View 1 1 chunk +3 lines, -0 lines 0 comments Download
A test/cctest/test-weakmaps.cc View 1 1 chunk +149 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/weakmaps.js View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Michael Starzinger
9 years, 4 months ago (2011-08-02 15:36:19 UTC) #1
Vyacheslav Egorov (Chromium)
I think it'll LGTM with comments addressed. http://codereview.chromium.org/7553012/diff/1/src/heap.h File src/heap.h (right): http://codereview.chromium.org/7553012/diff/1/src/heap.h#newcode135 src/heap.h:135: V(Object, encountered_weak_maps, ...
9 years, 4 months ago (2011-08-02 16:32:00 UTC) #2
Michael Starzinger
Uploaded new patch set. http://codereview.chromium.org/7553012/diff/1/src/heap.h File src/heap.h (right): http://codereview.chromium.org/7553012/diff/1/src/heap.h#newcode135 src/heap.h:135: V(Object, encountered_weak_maps, EncounteredWeakMaps) \ On ...
9 years, 4 months ago (2011-08-03 08:47:05 UTC) #3
Vyacheslav Egorov (Chromium)
LGTM http://codereview.chromium.org/7553012/diff/3001/test/mjsunit/harmony/weakmaps.js File test/mjsunit/harmony/weakmaps.js (right): http://codereview.chromium.org/7553012/diff/3001/test/mjsunit/harmony/weakmaps.js#newcode119 test/mjsunit/harmony/weakmaps.js:119: /*var wm = new WeakMap; I don't think ...
9 years, 4 months ago (2011-08-03 08:50:20 UTC) #4
Michael Starzinger
9 years, 4 months ago (2011-08-03 12:41:44 UTC) #5
http://codereview.chromium.org/7553012/diff/3001/test/mjsunit/harmony/weakmap...
File test/mjsunit/harmony/weakmaps.js (right):

http://codereview.chromium.org/7553012/diff/3001/test/mjsunit/harmony/weakmap...
test/mjsunit/harmony/weakmaps.js:119: /*var wm = new WeakMap;
On 2011/08/03 08:50:20, Vyacheslav Egorov wrote:
> I don't think there is any reason to commit commented code.

Done.

Powered by Google App Engine
This is Rietveld 408576698