[Webkit-unassigned] [Bug 65556] 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 13:06:52 PDT 2011


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





--- Comment #4 from Oliver Hunt <oliver at apple.com>  2011-08-02 13:06:52 PST ---
(From update of attachment 102685)
View in context: https://bugs.webkit.org/attachment.cgi?id=102685&action=review

> Source/JavaScriptCore/heap/MarkedBlock.h:77
>              FreeCell* next;
> +            
> +            void setNoObject()
> +            {
> +                *reinterpret_cast<void**>(this) = 0;
> +            }

Why this cast void**?  FreeCell doesn't have a vtable pointer, you're simply assigning null to this->next?

-- 
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