[Webkit-unassigned] [Bug 65556] New: JSC GC uses dummy cells to avoid having to remember which cells it has already destroyed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 2 11:57:53 PDT 2011


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

           Summary: JSC GC uses dummy cells to avoid having to remember
                    which cells it has already destroyed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fpizlo at apple.com


The JSC GC attempts to maintain the invariant that every cell within a marked block has a C++ object that inherits from JSCell, so that anytime a sweep is performed, destructors can be called on all free cells even if this was done already.  This requires infrastructure for "dummy" JSCells, with "dummy" structures, just to allow the garbage collector to get around having to do bookkeeping about which parts of memory have already been swept.  Dummy cells should be replaced with a collector-internal mechanism for tracking which memory has already been swept.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list