[Webkit-unassigned] [Bug 186284] New: Set the activeLength of all ScratchBuffers to zero when exiting the VM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 4 14:17:01 PDT 2018


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

            Bug ID: 186284
           Summary: Set the activeLength of all ScratchBuffers to zero
                    when exiting the VM
           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: simon.fraser at apple.com

Even after the fix for bug 186223, there are code paths that can leave ScratchBuffers with non-zero activeLength(), which can potentially cause things to be GC roots via the conservative scan.

We should just set the activeLength of all scratch buffers to zero when leaving VM entry scope.

-- 
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/20180604/f3a29e8b/attachment.html>


More information about the webkit-unassigned mailing list