[Webkit-unassigned] [Bug 232183] RemoteRenderingBackend::m_remoteDisplayLists should not be a WeakHashSet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 22 16:05:54 PDT 2021


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

--- Comment #1 from Wenson Hsieh <wenson_hsieh at apple.com> ---
This bug tracks addressing https://bugs.webkit.org/show_bug.cgi?id=232113#c10, where the WeakHashSet `m_remoteDisplayLists` is accessed from both the rendering backend thread and the main thread in the GPU process.

This is dangerous, given that WeakPtr itself cannot be used from different threads.

We should make this a HashSet or HashMap of Ref/RefPtr, and then manually remove entries from this map when releasing cached image buffers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211022/1f8a0dd6/attachment.htm>


More information about the webkit-unassigned mailing list