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

Issue 2808093003: [heap] Introduce HeapVisitor interface. (Closed)

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

Description

[heap] Introduce HeapVisitor interface. HeapVisitor is similar to StaticVisitor but uses virtual dispatch instead of static function table. It is intended as replacement of StaticVisitor using the CRTP. This CL also changes the concurrent marker to use the HeapVisitor. BUG=chromium:709075 Review-Url: https://codereview.chromium.org/2808093003 Cr-Commit-Position: refs/heads/master@{#44948} Committed: https://chromium.googlesource.com/v8/v8/+/8ff8d674d316f8701b1685eee7f759f3b37cb54b

Patch Set 1 #

Patch Set 2 : use heap visitor in concurrent marker #

Patch Set 3 : count bytes #

Patch Set 4 : typo #

Patch Set 5 : rebase #

Patch Set 6 : fix compile error #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -43 lines) Patch
M src/heap/concurrent-marking.cc View 1 2 4 chunks +94 lines, -3 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M src/heap/objects-visiting.h View 1 2 3 5 chunks +83 lines, -24 lines 4 comments Download
M src/heap/objects-visiting.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 1 2 3 4 5 4 chunks +101 lines, -3 lines 0 comments Download
M src/heap/scavenger.cc View 1 2 chunks +4 lines, -5 lines 0 comments Download
M src/objects.h View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download
M src/objects-body-descriptors.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/objects-body-descriptors-inl.h View 1 3 chunks +66 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (13 generated)
ulan
ptal
3 years, 8 months ago (2017-04-10 17:18:29 UTC) #3
ulan
Friendly ping :)
3 years, 8 months ago (2017-04-27 09:27:30 UTC) #4
Michael Lippautz
lgtm
3 years, 7 months ago (2017-04-27 13:11:36 UTC) #11
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/2808093003/diff/100001/src/heap/objects-visiting.h File src/heap/objects-visiting.h (right): https://codereview.chromium.org/2808093003/diff/100001/src/heap/objects-visiting.h#newcode410 src/heap/objects-visiting.h:410: virtual ResultType VisitFreeSpace(Map* map, FreeSpace* object); Why can ...
3 years, 7 months ago (2017-04-27 14:29:50 UTC) #14
ulan
https://codereview.chromium.org/2808093003/diff/100001/src/heap/objects-visiting.h File src/heap/objects-visiting.h (right): https://codereview.chromium.org/2808093003/diff/100001/src/heap/objects-visiting.h#newcode410 src/heap/objects-visiting.h:410: virtual ResultType VisitFreeSpace(Map* map, FreeSpace* object); On 2017/04/27 14:29:50, ...
3 years, 7 months ago (2017-04-27 14:59:49 UTC) #15
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/2808093003/100001
3 years, 7 months ago (2017-04-27 15:42:20 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 15:44:06 UTC) #20
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/v8/v8/+/8ff8d674d316f8701b1685eee7f759f3b37...

Powered by Google App Engine
This is Rietveld 408576698