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

Issue 2736923002: SnapshotCreator: start from existing snapshot if we have one (Closed)

Created:
3 years, 9 months ago by Jakob Kummerow
Modified:
3 years, 9 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

SnapshotCreator: start from existing snapshot if we have one This requires serialized data to track the number of API-provided external references separately. And it flushes out a case of serialized data corruption (stored "length" field too large) that we didn't handle without crashing. BUG=v8:6055 Review-Url: https://codereview.chromium.org/2736923002 Cr-Commit-Position: refs/heads/master@{#43649} Committed: https://chromium.googlesource.com/v8/v8/+/c478a2298d145772fbb848e39627e304f0a5c60a

Patch Set 1 #

Total comments: 12

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -31 lines) Patch
M src/api.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M src/external-reference-table.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/external-reference-table.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/snapshot/code-serializer.h View 1 2 chunks +15 lines, -13 lines 0 comments Download
M src/snapshot/code-serializer.cc View 1 4 chunks +14 lines, -0 lines 0 comments Download
M src/snapshot/deserializer.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/snapshot/deserializer.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/snapshot/serializer-common.h View 1 2 chunks +17 lines, -3 lines 0 comments Download
M src/snapshot/snapshot.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
M src/snapshot/snapshot-common.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 3 chunks +22 lines, -3 lines 0 comments Download
M tools/dev/gm.py View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Jakob Kummerow
PTAL. If you would prefer a different solution, I'm open to discussion :-)
3 years, 9 months ago (2017-03-07 10:30:58 UTC) #2
Yang
LGTM with comments. https://codereview.chromium.org/2736923002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2736923002/diff/1/src/api.cc#newcode520 src/api.cc:520: const StartupData* snapshot_blob = i::Snapshot::DefaultSnapshotBlob(); We ...
3 years, 9 months ago (2017-03-07 11:28:12 UTC) #3
Jakob Kummerow
Thanks, comments addressed. https://codereview.chromium.org/2736923002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2736923002/diff/1/src/api.cc#newcode520 src/api.cc:520: const StartupData* snapshot_blob = i::Snapshot::DefaultSnapshotBlob(); On ...
3 years, 9 months ago (2017-03-07 12:39:15 UTC) #4
Yang
LGTM. thanks for the additional clean up.
3 years, 9 months ago (2017-03-07 12:43:08 UTC) #5
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/2736923002/20001
3 years, 9 months ago (2017-03-07 16:12:31 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 16:36:57 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/c478a2298d145772fbb848e39627e304f0a...

Powered by Google App Engine
This is Rietveld 408576698