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

Issue 1811913002: [serializer] ensure that immortal immovable roots are correctly deserialized. (Closed)

Created:
4 years, 9 months ago by Yang
Modified:
4 years, 9 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[serializer] ensure that immortal immovable roots are correctly deserialized. Immortal immovable roots must be allocated on the first page of the space. If serializing the root list exceeds the first page, immortal immovable root objects might end up outside of the first page. That could cause missing write barriers. We now iterate the root list twice. The first time we only serialize immortal immovable root objects. The second time we serialize the rest. R=mstarzinger@chromium.org Committed: https://crrev.com/6e8958fff43be37eee4def68a061ab6fb32b7542 Cr-Commit-Position: refs/heads/master@{#34859}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -48 lines) Patch
M src/compiler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/globals.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/heap/heap.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M src/objects.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/snapshot/deserializer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/snapshot/serializer.h View 3 chunks +6 lines, -6 lines 0 comments Download
M src/snapshot/serializer.cc View 3 chunks +14 lines, -11 lines 1 comment Download
M src/snapshot/startup-serializer.h View 3 chunks +14 lines, -5 lines 0 comments Download
M src/snapshot/startup-serializer.cc View 4 chunks +47 lines, -22 lines 0 comments Download
M test/cctest/cctest.status View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Yang
4 years, 9 months ago (2016-03-17 10:46:45 UTC) #1
Michael Starzinger
LGTM. https://codereview.chromium.org/1811913002/diff/1/src/snapshot/serializer.cc File src/snapshot/serializer.cc (left): https://codereview.chromium.org/1811913002/diff/1/src/snapshot/serializer.cc#oldcode100 src/snapshot/serializer.cc:100: Object** roots = isolate()->heap()->roots_array_start(); Woot! I love this, ...
4 years, 9 months ago (2016-03-17 12:27:29 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811913002/1
4 years, 9 months ago (2016-03-17 12:49:39 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-17 13:16:03 UTC) #5
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 13:16:31 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6e8958fff43be37eee4def68a061ab6fb32b7542
Cr-Commit-Position: refs/heads/master@{#34859}

Powered by Google App Engine
This is Rietveld 408576698