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

Issue 1440243002: Object's body descriptors refactoring. (Closed)

Created:
5 years, 1 month ago by Igor Sheludko
Modified:
5 years, 1 month ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@new-visitor-base
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Object's body descriptors refactoring. 1) Body descriptors moved to their own header files. 2) Missing body descriptors added. 3) Template versions of HeapObject::Iterate*() methods added. 4) Body descriptors support new kind of queries: IsValidSlot(offset) which can be used for invalid slots filtering. This is a first step towards virtual and static visitors unification and support in-object properties in built-in (sub-)classes. Committed: https://crrev.com/138eb324ea2cd367b2252d199b3b81b18f7b10d5 Cr-Commit-Position: refs/heads/master@{#31980}

Patch Set 1 : #

Patch Set 2 : Refactoring & cleanup #

Total comments: 4

Patch Set 3 : Addressed comments + small fix in FlexibleBodyDescriptor #

Total comments: 2

Patch Set 4 : New files added to the lists #

Unified diffs Side-by-side diffs Delta from patch set Stats (+830 lines, -580 lines) Patch
M BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 4 chunks +4 lines, -5 lines 0 comments Download
M src/heap/objects-visiting.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/objects-visiting.cc View 1 chunk +0 lines, -132 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 1 2 8 chunks +22 lines, -80 lines 0 comments Download
M src/heap/scavenger.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/heap/store-buffer.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/objects.h View 1 2 17 chunks +39 lines, -119 lines 0 comments Download
M src/objects.cc View 1 3 chunks +30 lines, -9 lines 0 comments Download
A src/objects-body-descriptors.h View 1 2 1 chunk +139 lines, -0 lines 0 comments Download
A src/objects-body-descriptors-inl.h View 1 2 1 chunk +584 lines, -0 lines 0 comments Download
M src/objects-inl.h View 5 chunks +2 lines, -231 lines 0 comments Download
M src/profiler/heap-snapshot-generator.cc View 2 chunks +2 lines, -1 line 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440243002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440243002/20001
5 years, 1 month ago (2015-11-13 09:15:47 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440243002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440243002/60001
5 years, 1 month ago (2015-11-13 09:34:38 UTC) #8
Igor Sheludko
PTAL
5 years, 1 month ago (2015-11-13 09:40:51 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-13 09:52:47 UTC) #12
Michael Starzinger
https://codereview.chromium.org/1440243002/diff/60001/src/heap/objects-visiting-inl.h File src/heap/objects-visiting-inl.h (right): https://codereview.chromium.org/1440243002/diff/60001/src/heap/objects-visiting-inl.h#newcode443 src/heap/objects-visiting-inl.h:443: typedef FlexibleBodyVisitor<StaticVisitor, Code::BodyDescriptor, void> nit: Let's move the typedef ...
5 years, 1 month ago (2015-11-13 10:58:54 UTC) #13
Igor Sheludko
https://codereview.chromium.org/1440243002/diff/60001/src/heap/objects-visiting-inl.h File src/heap/objects-visiting-inl.h (right): https://codereview.chromium.org/1440243002/diff/60001/src/heap/objects-visiting-inl.h#newcode443 src/heap/objects-visiting-inl.h:443: typedef FlexibleBodyVisitor<StaticVisitor, Code::BodyDescriptor, void> On 2015/11/13 10:58:54, Michael Starzinger ...
5 years, 1 month ago (2015-11-13 11:23:51 UTC) #15
Michael Starzinger
LGTM with one final comment to address. https://codereview.chromium.org/1440243002/diff/100001/src/objects-body-descriptors.h File src/objects-body-descriptors.h (right): https://codereview.chromium.org/1440243002/diff/100001/src/objects-body-descriptors.h#newcode5 src/objects-body-descriptors.h:5: #ifndef V8_OBJECTS_BODY_DESCRIPTORS_H_ ...
5 years, 1 month ago (2015-11-13 11:30:54 UTC) #16
Igor Sheludko
https://codereview.chromium.org/1440243002/diff/100001/src/objects-body-descriptors.h File src/objects-body-descriptors.h (right): https://codereview.chromium.org/1440243002/diff/100001/src/objects-body-descriptors.h#newcode5 src/objects-body-descriptors.h:5: #ifndef V8_OBJECTS_BODY_DESCRIPTORS_H_ On 2015/11/13 11:30:54, Michael Starzinger wrote: > ...
5 years, 1 month ago (2015-11-13 11:37:39 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440243002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440243002/120001
5 years, 1 month ago (2015-11-13 11:38:07 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-13 12:22:46 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440243002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440243002/120001
5 years, 1 month ago (2015-11-13 12:29:08 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:120001)
5 years, 1 month ago (2015-11-13 12:32:14 UTC) #25
commit-bot: I haz the power
5 years, 1 month ago (2015-11-14 23:21:25 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/138eb324ea2cd367b2252d199b3b81b18f7b10d5
Cr-Commit-Position: refs/heads/master@{#31980}

Powered by Google App Engine
This is Rietveld 408576698