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

Issue 2259633002: Blink-compatible serialization of arrays, both dense and sparse. (Closed)

Created:
4 years, 4 months ago by jbroman
Modified:
4 years, 4 months ago
Reviewers:
Jakob Kummerow
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Blink-compatible serialization of arrays, both dense and sparse. The current "dense" format is not expressive enough to distinguish between an element that is not defined and one that has the value "undefined", but in this CL the existing behaviour of Blink is used for such cases. Format changes to fix these issues could be made later on. Not included in this CL is compatibility with version 0 arrays. Those will be implemented in a separate CL. BUG=chromium:148757 Committed: https://crrev.com/2e000127df2e88e31d352ef70af397741d1f2298 Committed: https://crrev.com/2d3a53c9c813173080eaab45141aaf80cd07f052 Cr-Original-Commit-Position: refs/heads/master@{#38729} Cr-Commit-Position: refs/heads/master@{#38732}

Patch Set 1 #

Patch Set 2 : mostly more unit tests #

Patch Set 3 : Micro-tweak: let NewJSArray construct the elements. #

Total comments: 24

Patch Set 4 : address review comments #

Patch Set 5 : Merge branch 'master' into vs6 #

Patch Set 6 : further review comments #

Patch Set 7 : trivial fix for compiler initialization warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+479 lines, -0 lines) Patch
M src/value-serializer.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/value-serializer.cc View 1 2 3 4 5 6 5 chunks +144 lines, -0 lines 0 comments Download
M test/unittests/value-serializer-unittest.cc View 1 2 3 1 chunk +332 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (30 generated)
jbroman
As before, there are several possible fast paths here, but I've tried to write the ...
4 years, 4 months ago (2016-08-18 03:05:36 UTC) #13
Jakob Kummerow
LGTM, mostly nits. Happy to take another look if you end up making nontrivial changes. ...
4 years, 4 months ago (2016-08-18 13:49:56 UTC) #14
jbroman
PTAL; I've responded to some of your comments, and I'd like to be certain we're ...
4 years, 4 months ago (2016-08-18 15:03:04 UTC) #17
Jakob Kummerow
Yup, same page. LGTM. https://codereview.chromium.org/2259633002/diff/40001/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2259633002/diff/40001/src/value-serializer.cc#newcode298 src/value-serializer.cc:298: // the format currently does ...
4 years, 4 months ago (2016-08-18 17:42:28 UTC) #24
jbroman
Thank you for the thorough review. https://codereview.chromium.org/2259633002/diff/40001/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2259633002/diff/40001/src/value-serializer.cc#newcode298 src/value-serializer.cc:298: // the format ...
4 years, 4 months ago (2016-08-18 18:10:13 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2259633002/100001
4 years, 4 months ago (2016-08-18 18:10:25 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-18 18:47:10 UTC) #29
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/2e000127df2e88e31d352ef70af397741d1f2298 Cr-Commit-Position: refs/heads/master@{#38729}
4 years, 4 months ago (2016-08-18 18:47:28 UTC) #31
jbroman
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/2255313002/ by jbroman@chromium.org. ...
4 years, 4 months ago (2016-08-18 18:56:45 UTC) #32
jbroman
Going to reland with the (trivial) fix.
4 years, 4 months ago (2016-08-18 22:28:44 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2259633002/120001
4 years, 4 months ago (2016-08-18 22:28:55 UTC) #40
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-18 22:30:34 UTC) #41
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 22:30:53 UTC) #43
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/2d3a53c9c813173080eaab45141aaf80cd07f052
Cr-Commit-Position: refs/heads/master@{#38732}

Powered by Google App Engine
This is Rietveld 408576698