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

Issue 398513005: Expose the content of Maps and WeakMaps through MapMirror. (Closed)

Created:
6 years, 5 months ago by Alexandra Mikhaylova
Modified:
6 years, 5 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Total comments: 9

Patch Set 3 : Address comments + REBASE #

Patch Set 4 : Address comments #

Patch Set 5 : Fix the test according to GC #

Patch Set 6 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -5 lines) Patch
M src/mirror-debugger.js View 1 2 5 chunks +51 lines, -0 lines 0 comments Download
M src/runtime.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
A test/mjsunit/harmony/mirror-collections.js View 1 2 3 4 1 chunk +82 lines, -0 lines 0 comments Download
A + test/mjsunit/runtime-gen/getweakmapentries.js View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/generate-runtime-tests.py View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Alexandra Mikhaylova
6 years, 5 months ago (2014-07-15 18:07:48 UTC) #1
rossberg
https://codereview.chromium.org/398513005/diff/1/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/398513005/diff/1/src/runtime.cc#newcode1709 src/runtime.cc:1709: RUNTIME_FUNCTION(Runtime_GetMapEntries) { Is this necessary? You can easily get ...
6 years, 5 months ago (2014-07-16 09:51:07 UTC) #2
Alexandra Mikhaylova
https://codereview.chromium.org/398513005/diff/1/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/398513005/diff/1/src/runtime.cc#newcode1709 src/runtime.cc:1709: RUNTIME_FUNCTION(Runtime_GetMapEntries) { On 2014/07/16 09:51:07, rossberg wrote: > Is ...
6 years, 5 months ago (2014-07-16 10:21:14 UTC) #3
Yang
I agree with Andreas' comment, and also have some of my own. We probably should ...
6 years, 5 months ago (2014-07-16 12:10:58 UTC) #4
Alexandra Mikhaylova
https://codereview.chromium.org/398513005/diff/1/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/398513005/diff/1/src/runtime.cc#newcode1742 src/runtime.cc:1742: Handle<Object> key(table->KeyAt(i), isolate); On 2014/07/16 12:10:58, Yang wrote: > ...
6 years, 5 months ago (2014-07-16 17:00:38 UTC) #5
arv (Not doing code reviews)
FYI https://codereview.chromium.org/398513005/diff/10001/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/398513005/diff/10001/src/mirror-debugger.js#newcode1295 src/mirror-debugger.js:1295: var iter = this.value_.entries(); Do we need to ...
6 years, 5 months ago (2014-07-16 19:17:20 UTC) #6
Yang
looking good. https://codereview.chromium.org/398513005/diff/10001/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/398513005/diff/10001/src/mirror-debugger.js#newcode1295 src/mirror-debugger.js:1295: var iter = this.value_.entries(); On 2014/07/16 19:17:20, ...
6 years, 5 months ago (2014-07-17 08:49:30 UTC) #7
Alexandra Mikhaylova
https://codereview.chromium.org/398513005/diff/10001/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/398513005/diff/10001/src/mirror-debugger.js#newcode1295 src/mirror-debugger.js:1295: var iter = this.value_.entries(); On 2014/07/17 08:49:29, Yang wrote: ...
6 years, 5 months ago (2014-07-17 09:16:21 UTC) #8
aandrey
https://codereview.chromium.org/398513005/diff/10001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/398513005/diff/10001/src/runtime.cc#newcode1722 src/runtime.cc:1722: entries->set(number_of_non_hole_elements * 2, *key); maybe get rid of multiplications? ...
6 years, 5 months ago (2014-07-17 09:42:29 UTC) #9
Alexandra Mikhaylova
https://codereview.chromium.org/398513005/diff/10001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/398513005/diff/10001/src/runtime.cc#newcode1722 src/runtime.cc:1722: entries->set(number_of_non_hole_elements * 2, *key); On 2014/07/17 09:42:28, aandrey wrote: ...
6 years, 5 months ago (2014-07-17 10:21:18 UTC) #10
aandrey
lgtm
6 years, 5 months ago (2014-07-17 12:06:31 UTC) #11
Yang
On 2014/07/17 12:06:31, aandrey wrote: > lgtm lgtm.
6 years, 5 months ago (2014-07-17 14:10:31 UTC) #12
Alexandra Mikhaylova
On 2014/07/17 14:10:31, Yang wrote: > On 2014/07/17 12:06:31, aandrey wrote: > > lgtm > ...
6 years, 5 months ago (2014-07-17 14:27:26 UTC) #13
Yang
Committed patchset #4 manually as r22452 (presubmit successful).
6 years, 5 months ago (2014-07-17 15:08:11 UTC) #14
Alexandra Mikhaylova
Fixed the test, the problem was in GC being called before it was expected in ...
6 years, 5 months ago (2014-07-18 15:50:42 UTC) #15
Yang
On 2014/07/18 15:50:42, Alexandra Mikhaylova wrote: > Fixed the test, the problem was in GC ...
6 years, 5 months ago (2014-07-21 07:56:23 UTC) #16
Yang
6 years, 5 months ago (2014-07-21 08:07:13 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 manually as r22490 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698