[Webkit-unassigned] [Bug 143449] New: Simplify ownership model of RefCounter::Count

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 6 11:52:17 PDT 2015


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

            Bug ID: 143449
           Summary: Simplify ownership model of RefCounter::Count
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: barraclough at apple.com

Currently the count manipulated by ref/deref does not fully determine the lifetime of the object - the object is either kept alive if the refcount is non-zero, or if the owner RefCounter is still alive (separately determined). Make the object lifetime simpler by making it purely determined by the RefCount (and as such RefCounter::Count can just become a regular RefCounted). Add a new variable to track the counter value.

This patch is a step towards adding a token type that doesn't increment the count (to be able to avoid bogus churn & keep the count accurate).

-- 
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/20150406/9a77d33e/attachment.html>


More information about the webkit-unassigned mailing list