[Webkit-unassigned] [Bug 167193] New: JSSegmentedVariableObject and its subclasses should have a sane destruction story

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 18 20:21:42 PST 2017


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

            Bug ID: 167193
           Summary: JSSegmentedVariableObject and its subclasses should
                    have a sane destruction story
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fpizlo at apple.com

Right now, JSSegmentedVariableObjects' subclasses install finalizers that call destroy. They do this in random ways, which sometimes result in JSSegmentedVariableObject::~JSSegmentedVariableObject executing more than once (which works because of the way that ~SegmentedVector is written). Maybe this works now, but it's a disaster waiting to happen.

Fortunately we can now just give those things their own Subspace and teach it its own protocol of destruction.

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


More information about the webkit-unassigned mailing list