[Webkit-unassigned] [Bug 226149] New: Use singleton thunks for virtual calls.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 22 18:02:26 PDT 2021


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

            Bug ID: 226149
           Summary: Use singleton thunks for virtual calls.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

The pre-existing implementation emits a unique thunk for each virtual call site.  This turns out to be very wasteful in terms of memory.  For example, Speedometer2 ends up generating ~16M of virtualFor thunks.  Switching to re-useable singleton thunks, saves that 16M, and also appears to improve Speedometer2 performance by 1.012x.

-- 
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/20210523/ebc2b2f5/attachment.htm>


More information about the webkit-unassigned mailing list