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

Issue 2557743003: [serializer] include global proxy in additional context snapshots. (Closed)

Created:
4 years ago by Yang
Modified:
4 years ago
CC:
Hannes Payer (out of office), ulan, v8-reviews_googlegroups.com, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[serializer] include global proxy in additional context snapshots. Aside from the default snapshot, there is no need for additional context snapshots to have the ability to replace the global proxy and global object after deserialization. Changes include: - Changes to the API to better distinguish default context snapshot from additional context snapshots. - Disallow global handles when creating snapshots. - Allow extensions when creating snapshots. This solves the issue of not being able to having accessors and interceptors on the global object of contexts to be serialized. R=jochen@chromium.org, peria@chromium.org BUG=chromium:617892 Committed: https://crrev.com/98b563ebf3fe39740970416691d8220c91cf599e Cr-Commit-Position: refs/heads/master@{#41588}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix #

Patch Set 3 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -81 lines) Patch
M include/v8.h View 1 2 2 chunks +24 lines, -4 lines 0 comments Download
M src/api.cc View 9 chunks +44 lines, -18 lines 0 comments Download
M src/bootstrapper.cc View 9 chunks +14 lines, -15 lines 0 comments Download
M src/contexts.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/contexts.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/isolate.h View 2 chunks +0 lines, -7 lines 0 comments Download
M src/isolate.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/snapshot/partial-serializer.h View 1 chunk +1 line, -1 line 0 comments Download
M src/snapshot/partial-serializer.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M src/snapshot/snapshot-common.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/snapshot/startup-serializer.cc View 1 chunk +1 line, -3 lines 0 comments Download
M test/cctest/test-lockers.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 15 chunks +183 lines, -26 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
Yang
4 years ago (2016-12-07 09:31:38 UTC) #1
jochen (gone - plz use gerrit)
lgtm
4 years ago (2016-12-07 09:34:14 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/2557743003/20001
4 years ago (2016-12-07 09:43:34 UTC) #10
peria
Code LGTM % an API document. https://codereview.chromium.org/2557743003/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2557743003/diff/1/include/v8.h#newcode7904 include/v8.h:7904: * deserialize from. ...
4 years ago (2016-12-07 10:11:08 UTC) #11
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/2557743003/40001
4 years ago (2016-12-07 10:13:11 UTC) #15
Yang
https://codereview.chromium.org/2557743003/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2557743003/diff/1/include/v8.h#newcode7904 include/v8.h:7904: * deserialize from. It must be larger than 0. ...
4 years ago (2016-12-07 10:13:34 UTC) #16
peria
lgtm
4 years ago (2016-12-07 10:14:09 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel_ng/builds/13232) v8_linux_arm_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years ago (2016-12-07 11:06:19 UTC) #19
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/2557743003/40001
4 years ago (2016-12-08 12:16:45 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-08 12:44:38 UTC) #24
commit-bot: I haz the power
4 years ago (2016-12-08 12:45:10 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/98b563ebf3fe39740970416691d8220c91cf599e
Cr-Commit-Position: refs/heads/master@{#41588}

Powered by Google App Engine
This is Rietveld 408576698