RESOLVED FIXED 85799
IconDatabase: Move icon retain/release off of the main thread.
https://bugs.webkit.org/show_bug.cgi?id=85799
Summary IconDatabase: Move icon retain/release off of the main thread.
Andreas Kling
Reported 2012-05-07 06:40:37 PDT
<rdar://problem/9507113> We're seeing quite a few spins below IconDatabase::retainIconForPageURL(), we should avoid blocking the main thread on this operation (and its release sibling.)
Attachments
Patch (12.82 KB, patch)
2012-05-15 17:23 PDT, Andreas Kling
beidson: review+
Andreas Kling
Comment 1 2012-05-15 17:23:03 PDT
Created attachment 142104 [details] Patch Here's one way we can do this- batch up the retain/release operations and execute them on the sync thread.
Brady Eidson
Comment 2 2012-05-17 13:06:51 PDT
Comment on attachment 142104 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=142104&action=review > Source/WebCore/loader/icon/IconDatabase.cpp:1513 > + > + // NOTE: The caller is assumed to hold m_urlAndIconLock. > + In the past I thought we had a way to ASSERT this. Do we still?
Andreas Kling
Comment 3 2012-05-17 14:49:10 PDT
Note You need to log in before you can comment on or make changes to this bug.