Mechanism to visiting strong fields of objects |
||
Issue descriptionEach V8 heap object class will get two body descriptors: - BodyDescriptor that ignores weakness and iterates all fields of the object. - BodyDescriptorWeak that respects weakness and iterates strong fields and weak fields separately (calling different callback functions for strong and weak fields).
,
Jun 14 2017
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/74aa3ad011567b1714eb563940696c0b52270b17 commit 74aa3ad011567b1714eb563940696c0b52270b17 Author: Ulan Degenbaev <ulan@chromium.org> Date: Wed Jun 14 16:01:16 2017 [heap] Add trivial BodyDescriptorWeak for objects without weak fields. This patch also changes the visitor of BytecodeArray to use BytecodeArray::BodyDescriptor. BUG= chromium:733159 Change-Id: I2ac72c97ec51996b5b100c447b543895180f4f78 Reviewed-on: https://chromium-review.googlesource.com/535674 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#45955} [modify] https://crrev.com/74aa3ad011567b1714eb563940696c0b52270b17/src/heap/objects-visiting-inl.h [modify] https://crrev.com/74aa3ad011567b1714eb563940696c0b52270b17/src/objects-body-descriptors-inl.h [modify] https://crrev.com/74aa3ad011567b1714eb563940696c0b52270b17/src/objects.h [modify] https://crrev.com/74aa3ad011567b1714eb563940696c0b52270b17/src/objects/hash-table.h [modify] https://crrev.com/74aa3ad011567b1714eb563940696c0b52270b17/src/objects/name.h [modify] https://crrev.com/74aa3ad011567b1714eb563940696c0b52270b17/src/objects/shared-function-info.h [modify] https://crrev.com/74aa3ad011567b1714eb563940696c0b52270b17/src/objects/string.h
,
Jul 11 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by u...@chromium.org
, Jun 14 2017