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

Issue 2342293003: Use a plain FixedArray rather than a SeededNumberDictionary for ValueDeserializer::id_map_. (Closed)

Created:
4 years, 3 months ago by jbroman
Modified:
4 years, 3 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Use a plain FixedArray rather than a SeededNumberDictionary for ValueDeserializer::id_map_. In practice this is a dense array, because there is currently no provision in the format for assigning IDs other than sequentially to every object. Thus a FixedArray is more efficient than a general dictionary. BUG=chromium:148757 Committed: https://crrev.com/ca6e40d7ba853319c15196fef3f4536c8b3929fe Cr-Commit-Position: refs/heads/master@{#39486}

Patch Set 1 #

Total comments: 4

Patch Set 2 : IsTheHole #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -15 lines) Patch
M src/value-serializer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/value-serializer.cc View 1 3 chunks +11 lines, -14 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
jbroman
4 years, 3 months ago (2016-09-16 20:34:38 UTC) #4
Camillo Bruni
lgtm with nits https://codereview.chromium.org/2342293003/diff/1/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2342293003/diff/1/src/value-serializer.cc#newcode1578 src/value-serializer.cc:1578: id_map_->get(id) != isolate_->heap()->the_hole_value(); nit: use IsTheHole(isolate_) ...
4 years, 3 months ago (2016-09-16 20:49:37 UTC) #7
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/2342293003/20001
4 years, 3 months ago (2016-09-17 05:00:32 UTC) #10
jbroman
https://codereview.chromium.org/2342293003/diff/1/src/value-serializer.cc File src/value-serializer.cc (right): https://codereview.chromium.org/2342293003/diff/1/src/value-serializer.cc#newcode1578 src/value-serializer.cc:1578: id_map_->get(id) != isolate_->heap()->the_hole_value(); On 2016/09/16 at 20:49:37, Camillo Bruni ...
4 years, 3 months ago (2016-09-17 05:00:51 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-17 05:45:49 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-17 05:46:19 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ca6e40d7ba853319c15196fef3f4536c8b3929fe
Cr-Commit-Position: refs/heads/master@{#39486}

Powered by Google App Engine
This is Rietveld 408576698