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

Issue 2810653002: Add a host parameter to ObjectVisitor methods. (Closed)

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

Description

Add a host parameter to ObjectVisitor methods. This makes an ObjectVisitor as powerful as a StaticVisitor and allows slots recording in ObjectVisitor. This patch also renames VisitCell method of ObjectVisitor to VisitCellPointer, so that VisitCell is free to be used for actually visiting a cell. BUG=chromium:709075 Review-Url: https://codereview.chromium.org/2810653002 Cr-Commit-Position: refs/heads/master@{#44860} Committed: https://chromium.googlesource.com/v8/v8/+/c59f78f611280240d65ab74a8874ce51161bfcd2

Patch Set 1 #

Patch Set 2 : remove code #

Total comments: 1

Patch Set 3 : rename VisitCell to VisitCellPointer #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -216 lines) Patch
M src/arm/assembler-arm-inl.h View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download
M src/arm64/assembler-arm64-inl.h View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
M src/heap/concurrent-marking.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/heap/heap.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 2 3 4 6 chunks +13 lines, -6 lines 0 comments Download
M src/heap/heap-inl.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/heap/mark-compact.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 14 chunks +43 lines, -52 lines 0 comments Download
M src/heap/mark-compact-inl.h View 1 chunk +22 lines, -0 lines 0 comments Download
M src/heap/scavenger.h View 1 1 chunk +1 line, -6 lines 0 comments Download
M src/heap/scavenger.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M src/mips/assembler-mips-inl.h View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M src/mips64/assembler-mips64-inl.h View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M src/objects.h View 1 2 3 4 1 chunk +18 lines, -13 lines 0 comments Download
M src/objects.cc View 1 2 3 4 1 chunk +12 lines, -26 lines 0 comments Download
M src/objects-body-descriptors-inl.h View 6 chunks +11 lines, -8 lines 0 comments Download
M src/ppc/assembler-ppc-inl.h View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M src/profiler/heap-snapshot-generator.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M src/s390/assembler-s390-inl.h View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M src/snapshot/serializer.h View 1 2 3 4 1 chunk +9 lines, -9 lines 0 comments Download
M src/snapshot/serializer.cc View 1 2 3 4 8 chunks +18 lines, -9 lines 0 comments Download
M src/visitors.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M src/x87/assembler-x87-inl.h View 1 2 1 chunk +8 lines, -8 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (14 generated)
ulan
ptal https://codereview.chromium.org/2810653002/diff/20001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2810653002/diff/20001/src/heap/heap.cc#newcode1756 src/heap/heap.cc:1756: collector->code_flusher()->VisitListHeads(&root_scavenge_visitor); This is the only non-mechanical change: we ...
3 years, 8 months ago (2017-04-10 10:59:38 UTC) #2
Michael Lippautz
lgtm turns out this is also required (or at least highly beneficial) for the minor ...
3 years, 8 months ago (2017-04-20 09:05:50 UTC) #4
Hannes Payer (out of office)
lgtm
3 years, 8 months ago (2017-04-21 09:50:09 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/2810653002/80001
3 years, 8 months ago (2017-04-25 13:36:40 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/39766)
3 years, 8 months ago (2017-04-25 13:39:12 UTC) #14
ulan
+ vogelheim@ for snapshot changes
3 years, 8 months ago (2017-04-25 13:43:25 UTC) #16
vogelheim
lgtm for src/snapshot/*
3 years, 8 months ago (2017-04-25 13:53:38 UTC) #17
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/2810653002/80001
3 years, 8 months ago (2017-04-25 14:01:31 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 14:19:08 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/c59f78f611280240d65ab74a8874ce51161...

Powered by Google App Engine
This is Rietveld 408576698