[Webkit-unassigned] [Bug 228892] [JSC] Custom getter / setter functions can be collected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 6 22:36:08 PDT 2021


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

--- Comment #1 from Alexey Shvayka <shvaikalesh at gmail.com> ---
Wow, this is a great catch!

Since there could be a lot of `Object.getOwnPropertyDescriptors(%WebIDLInterface%.prototype)` out there in the web, my first approach would be creating separate HashSet on JSGlobalObject that is strong, and leverage Structure::didTransitionFromThisStructure() (m_transitionWatchpointSet) to copy JSCustom{Getter,Setter}Function objects there, so we can avoid overriding MethodTable::destroy() for performance reasons.

-- 
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/20210807/55cb2fa2/attachment.htm>


More information about the webkit-unassigned mailing list