[Webkit-unassigned] [Bug 203211] New: Fix issues when setting public length on ArrayWithContiguous type butterflies.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 21 14:10:28 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=203211

            Bug ID: 203211
           Summary: Fix issues when setting public length on
                    ArrayWithContiguous type butterflies.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

For ArrayWithContiguous type butterflies, SlotVisitor scans up to the public length of the butterfly.  When setting a new public length, if the new public length is greater than the current, we should always writeBarrier after the setting of the new public length.  Otherwise, there can be a race where the GC scans the butterfly after new values have been written to it but before the public length as been updated.  As a result, the new values never get scanned.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191021/a46cdec5/attachment.html>


More information about the webkit-unassigned mailing list