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

Issue 2248893003: Blink-compatible deserialization of old object format. (Closed)

Created:
4 years, 4 months ago by jbroman
Modified:
4 years, 4 months ago
CC:
esprehn, jochen (gone - plz use gerrit), v8-reviews_googlegroups.com, Jakob Kummerow
Base URL:
https://chromium.googlesource.com/v8/v8.git@vs4
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Blink-compatible deserialization of old object format. The "version 0" format did not deal with references, and used a stack model to deserialize objects (conceptually, a postorder tree traversal). This requires an explicit stack, so special logic is added to decode this format. All subsequent versions also put an object marker at the beginning, which is equivalent to how the current version serializes. BUG=chromium:148757 Committed: https://crrev.com/058a7ee01e6d1842fe284464fc390de5948ba75b Cr-Commit-Position: refs/heads/master@{#38686}

Patch Set 1 #

Patch Set 2 : correct to size_t #

Total comments: 16

Patch Set 3 : review comments, format #

Patch Set 4 : Merge branch 'vs4' into vs5 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -3 lines) Patch
M src/value-serializer.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M src/value-serializer.cc View 1 2 3 3 chunks +79 lines, -3 lines 0 comments Download
M test/unittests/value-serializer-unittest.cc View 1 2 3 2 chunks +80 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
jbroman
The very oldest format version ("version 0") requires some special handling; here is code to ...
4 years, 4 months ago (2016-08-16 01:05:47 UTC) #10
Camillo Bruni
LGTM with nits https://codereview.chromium.org/2248893003/diff/20001/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2248893003/diff/20001/src/value-serializer.cc#newcode333 src/value-serializer.cc:333: (void)actual_tag; nit: you can use our ...
4 years, 4 months ago (2016-08-16 09:04:08 UTC) #11
jbroman
https://codereview.chromium.org/2248893003/diff/20001/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2248893003/diff/20001/src/value-serializer.cc#newcode333 src/value-serializer.cc:333: (void)actual_tag; On 2016/08/16 at 09:04:07, Camillo Bruni (OOO) wrote: ...
4 years, 4 months ago (2016-08-16 21:34:14 UTC) #13
Jakob Kummerow
lgtm
4 years, 4 months ago (2016-08-17 13:15:38 UTC) #18
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/2248893003/60001
4 years, 4 months ago (2016-08-17 15:40:45 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-17 16:06:04 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 16:06:22 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/058a7ee01e6d1842fe284464fc390de5948ba75b
Cr-Commit-Position: refs/heads/master@{#38686}

Powered by Google App Engine
This is Rietveld 408576698