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

Issue 2490783004: [serializer] small fixes for blink snapshot. (Closed)

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

Description

[serializer] small fixes for blink snapshot. Changes include: - Adding V8_EXPORT macro for SnapshotCreator - Removing outdated DCHECKs. - Allow nullptr as external reference. This required a... - Refactoring of hashmaps used by the serializer. - Remove external references for counters. These are not used anywhere for isolates that are being serialized. - Put template infos into the partial snapshot cache. - Remove unnecessary presubmit check for external references. mksnapshot crashes if external references are missing. R=jochen@chromium.org, vogelheim@chromium.org BUG=chromium:617892 Committed: https://crrev.com/c759a3d847b9216d7fc0e54e84eab3b31c7654f8 Cr-Commit-Position: refs/heads/master@{#40949}

Patch Set 1 #

Total comments: 1

Patch Set 2 : more fixes #

Total comments: 9

Patch Set 3 : address comment #

Patch Set 4 : addressed comment #

Patch Set 5 : rebase and fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -171 lines) Patch
M PRESUBMIT.py View 1 2 chunks +0 lines, -4 lines 0 comments Download
M include/v8.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/address-map.h View 1 2 3 4 chunks +34 lines, -30 lines 0 comments Download
M src/address-map.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M src/api.cc View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M src/external-reference-table.h View 1 2 chunks +3 lines, -6 lines 0 comments Download
M src/external-reference-table.cc View 1 3 chunks +2 lines, -29 lines 0 comments Download
M src/isolate.h View 1 3 chunks +4 lines, -2 lines 0 comments Download
M src/snapshot/deserializer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/snapshot/partial-serializer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/snapshot/serializer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/snapshot/serializer-common.h View 1 1 chunk +1 line, -6 lines 0 comments Download
M src/snapshot/serializer-common.cc View 1 2 3 2 chunks +13 lines, -17 lines 0 comments Download
M src/snapshot/startup-serializer.h View 1 2 3 1 chunk +7 lines, -6 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 3 4 7 chunks +25 lines, -10 lines 0 comments Download
D tools/external-reference-check.py View 1 1 chunk +0 lines, -44 lines 0 comments Download
M tools/presubmit.py View 1 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
Yang
4 years, 1 month ago (2016-11-09 12:15:42 UTC) #1
vogelheim
lgtm https://codereview.chromium.org/2490783004/diff/1/src/api.cc File src/api.cc (left): https://codereview.chromium.org/2490783004/diff/1/src/api.cc#oldcode1253 src/api.cc:1253: DCHECK(!i_isolate->serializer_enabled()); Ah. I'm rather certain this DCHECK is ...
4 years, 1 month ago (2016-11-09 12:19:24 UTC) #2
Yang
Please take another look. I'm piggybacking a bunch of other remaining fixes onto this.
4 years, 1 month ago (2016-11-10 08:29:09 UTC) #6
vogelheim
lgtm Some nitpicks, though... :-) https://codereview.chromium.org/2490783004/diff/20001/src/address-map.h File src/address-map.h (right): https://codereview.chromium.org/2490783004/diff/20001/src/address-map.h#newcode17 src/address-map.h:17: : public base::TemplateHashMapImpl<intptr_t, uint32_t, ...
4 years, 1 month ago (2016-11-10 09:37:10 UTC) #7
Yang
https://codereview.chromium.org/2490783004/diff/20001/src/address-map.h File src/address-map.h (right): https://codereview.chromium.org/2490783004/diff/20001/src/address-map.h#newcode17 src/address-map.h:17: : public base::TemplateHashMapImpl<intptr_t, uint32_t, On 2016/11/10 09:37:10, vogelheim wrote: ...
4 years, 1 month ago (2016-11-10 10:36:20 UTC) #8
vogelheim
lgtm https://codereview.chromium.org/2490783004/diff/20001/src/address-map.h File src/address-map.h (right): https://codereview.chromium.org/2490783004/diff/20001/src/address-map.h#newcode200 src/address-map.h:200: return map_.Has(obj) ? SerializerReference(map_.Get(obj)) On 2016/11/10 10:36:19, Yang ...
4 years, 1 month ago (2016-11-10 10:59:28 UTC) #9
Yang
On 2016/11/10 10:59:28, vogelheim wrote: > lgtm > > https://codereview.chromium.org/2490783004/diff/20001/src/address-map.h > File src/address-map.h (right): > ...
4 years, 1 month ago (2016-11-11 10:54:54 UTC) #10
vogelheim
lgtm Looks good, thanks!
4 years, 1 month ago (2016-11-11 16:08:15 UTC) #11
jochen (gone - plz use gerrit)
lgtm
4 years, 1 month ago (2016-11-12 20:58:49 UTC) #12
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/2490783004/80001
4 years, 1 month ago (2016-11-14 06:42:24 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-14 07:17:31 UTC) #21
agrieve
On 2016/11/14 07:17:31, commit-bot: I haz the power wrote: > Committed patchset #5 (id:80001) fyi ...
4 years, 1 month ago (2016-11-16 19:23:53 UTC) #22
Yang
On 2016/11/16 19:23:53, agrieve wrote: > On 2016/11/14 07:17:31, commit-bot: I haz the power wrote: ...
4 years, 1 month ago (2016-11-16 20:17:49 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:31:50 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c759a3d847b9216d7fc0e54e84eab3b31c7654f8
Cr-Commit-Position: refs/heads/master@{#40949}

Powered by Google App Engine
This is Rietveld 408576698