[Webkit-unassigned] [Bug 31827] Allow custom memory allocation control for classes of the plugins and rendering directory in WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 24 23:46:35 PST 2009


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


Zoltan Horvath <zoltan at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric at webkit.org




--- Comment #2 from Zoltan Horvath <zoltan at webkit.org>  2009-11-24 23:46:34 PST ---
> I'm still not sure I fully understand
> your quest to make new/delete replaceable, but this change is a good one.

Unfortunately, the global operator new technique doesn't work (on Linux and
Windows). When you use the WebKit as a shared library for an application it
will customizes the application's new/delete also. This can lead to weird
problems. (e.g. crash) The FastAllocBase solution provides a safety way to
customize new/delete through locally in the classes, not by the global way. So,
we'll have full allocation control over the classes.

I'm going to land the patch now, thanks for the review. :)

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