[Webkit-unassigned] [Bug 86483] LayerAnimation is not thread safe, which makes dereferencing an expensive operation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 16 15:50:06 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86483
--- Comment #7 from Alexey Proskuryakov <ap at webkit.org> 2012-05-16 15:49:10 PST ---
> However, even if we don't touch any data of these objects, the refcount will still be mutated as we pass these objects around and from one thread to the other.
I think that you need to generously sprinkle ASSERT(isMainThread()) checks around this code to document and verify this requirement.
Not commenting on whether the performance hit of making these classes ThreadSafeRefCounted.
--
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