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

Issue 2246093003: Blink-compatible serialization of dictionary-like objects. (Closed)

Created:
4 years, 4 months ago by jbroman
Modified:
4 years, 4 months ago
CC:
esprehn, Jakob Kummerow, jochen (gone - plz use gerrit), 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 dictionary-like objects. As part of this CL, object reference tracking is implemented (and tested with a self-referential object). This sort of reference tracking will be shared with other receivers (array, date, regexp and host objects). Not included in this CL is compatibility with version-0 objects (which don't support a non-tree object graph, and require a little stack to correctly deserialize). BUG=chromium:148757 Committed: https://crrev.com/1031a79f6031d694efbd245515e814d61fe4d487 Cr-Commit-Position: refs/heads/master@{#38683}

Patch Set 1 #

Patch Set 2 : suppress unused variable warning due to DCHECK #

Patch Set 3 : cleanup and clang-format #

Total comments: 26

Patch Set 4 : bug fix, fixes requested by cbruni, more edge cases #

Patch Set 5 : s/(void)/USE/ #

Patch Set 6 : OptionalRescheduleException #

Total comments: 10

Patch Set 7 : nits #

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

Messages

Total messages: 37 (27 generated)
jbroman
4 years, 4 months ago (2016-08-15 22:23:52 UTC) #14
jbroman
https://codereview.chromium.org/2246093003/diff/40001/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2246093003/diff/40001/src/value-serializer.cc#newcode306 src/value-serializer.cc:306: GlobalHandles::Destroy(Handle<Object>::cast(id_map_).location()); This seems to be how such handles are ...
4 years, 4 months ago (2016-08-15 22:27:06 UTC) #15
Camillo Bruni
LGTM with nits. As I outlined in my mail, please send the follow-up CLs to ...
4 years, 4 months ago (2016-08-16 11:26:57 UTC) #16
jbroman
jkummerow, PTAL. cbruni has already reviewed this, but I've now made significant enough changes in ...
4 years, 4 months ago (2016-08-16 18:16:29 UTC) #18
jbroman
https://codereview.chromium.org/2246093003/diff/40001/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2246093003/diff/40001/src/value-serializer.cc#newcode268 src/value-serializer.cc:268: if (!KeyAccumulator::GetKeys(object, KeyCollectionMode::kOwnOnly, On 2016/08/16 at 18:16:29, jbroman wrote: ...
4 years, 4 months ago (2016-08-16 18:22:13 UTC) #21
Jakob Kummerow
LGTM with nits. https://codereview.chromium.org/2246093003/diff/40001/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2246093003/diff/40001/src/value-serializer.cc#newcode306 src/value-serializer.cc:306: GlobalHandles::Destroy(Handle<Object>::cast(id_map_).location()); I think your understanding is ...
4 years, 4 months ago (2016-08-17 13:00:15 UTC) #30
jbroman
https://codereview.chromium.org/2246093003/diff/100001/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2246093003/diff/100001/src/value-serializer.cc#newcode248 src/value-serializer.cc:248: return Nothing<bool>(); On 2016/08/17 at 13:00:14, Jakob wrote: > ...
4 years, 4 months ago (2016-08-17 14:05:10 UTC) #31
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/2246093003/120001
4 years, 4 months ago (2016-08-17 14:05:22 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-17 14:26:42 UTC) #35
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 14:27:01 UTC) #37
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/1031a79f6031d694efbd245515e814d61fe4d487
Cr-Commit-Position: refs/heads/master@{#38683}

Powered by Google App Engine
This is Rietveld 408576698