[Webkit-unassigned] [Bug 115552] New: Make ThreadFunctionInvocation fast-allocated.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 3 09:41:20 PDT 2013


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

           Summary: Make ThreadFunctionInvocation fast-allocated.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bfulgham at webkit.org


While tracking down some memory allocation problems on Windows (see Bug 115130), I noticed that ThreadFunctionInvocation did not use the WTF_MAKE_FAST_ALLOCATED macro. Under Windows, the global replacement of operator new/delete should cause this to be fast allocated, but in practice results in a mismatch (allocating with system new, deallocating with fastFree).  Under Gtk/EFL/Qt and perhaps others, ThreadFunctionInvocation is not fast allocated at all.

This change simply instructs the system to build ThreadFunctionInvocation as a fast-allocated object, removing the error case under Windows and potentially speeding up memory allocation on other platforms.

-- 
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