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

Issue 2799943002: Handle ExternalStrings directly in the serializer without ObjectVisitor. (Closed)

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

Description

Handle ExternalStrings directly in the serializer without ObjectVisitor. The serializer already has code that special cases for some external strings. We can handle all external strings in one place instead of splitting the logic between the serializer and the object visitor. The main benefit is that we remove two virtual functions from the ObjectVisitor and thus simplify it for all other users. BUG=chromium:709075 Review-Url: https://codereview.chromium.org/2799943002 Cr-Commit-Position: refs/heads/master@{#44485} Committed: https://chromium.googlesource.com/v8/v8/+/039617d75483e10ded4d60d08d684bba08d8bdb9

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -122 lines) Patch
M src/heap/mark-compact.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/objects.h View 1 chunk +0 lines, -6 lines 0 comments Download
M src/objects-body-descriptors-inl.h View 2 chunks +0 lines, -12 lines 0 comments Download
M src/snapshot/serializer.h View 2 chunks +5 lines, -13 lines 0 comments Download
M src/snapshot/serializer.cc View 3 chunks +94 lines, -87 lines 3 comments Download

Messages

Total messages: 9 (5 generated)
ulan
ptal https://codereview.chromium.org/2799943002/diff/1/src/snapshot/serializer.cc File src/snapshot/serializer.cc (right): https://codereview.chromium.org/2799943002/diff/1/src/snapshot/serializer.cc#newcode421 src/snapshot/serializer.cc:421: CHECK_EQ(0, bytes_processed_so_far_); Lines 413-421 are from the Serialize ...
3 years, 8 months ago (2017-04-06 17:53:08 UTC) #2
Yang
lgtm
3 years, 8 months ago (2017-04-07 11:56:20 UTC) #3
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/2799943002/1
3 years, 8 months ago (2017-04-07 11:57:59 UTC) #6
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 12:24:31 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/039617d75483e10ded4d60d08d684bba08d...

Powered by Google App Engine
This is Rietveld 408576698