[webkit-dev] WebKit memory management?
jhaygood at reaktix.com
Wed Jun 4 11:18:09 PDT 2008
Based on my (limited) understanding:
* Inside the same linked executable (an EXE, DLL, etc..), you can only have
a single implementation of something, such as operator new, operator delete,
* Inside different linked executables that are dynamically linked (or
statically linked using shared libraries), you can have one implementation
per shared library
MyCoolGame.exe can use its own custom implementation of operator
WebKit.dll can use another custom implementation that is different from
UberGraphicsLibrary.dll can use yet another custom implementation that is
different from both WebKit.dll and MyCoolGame.exe
WebKit.dll, have to use the same implementation, since even though they are
different static libraries, they are linked into a single linkable
From: webkit-dev-bounces at lists.webkit.org
[mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of Darin Adler
Sent: Wednesday, June 04, 2008 2:01 PM
To: Paul Pedriana
Subject: Re: [webkit-dev] WebKit memory management?
On Jun 4, 2008, at 10:57 AM, Paul Pedriana wrote:
> As I mentioned in a previous response, this unfortunately doesn't
> work because all operator new is directed to FastMalloc, not just
> WebKit's usage of operator new. Operator new is global in a linkage
Did you try it, or is that just something you know without testing? I
understand the principle, but I haven't seen the problem in practice
on any platform.
If the problem is a real practical issue, do you have a suggested fix?
Would you be willing to make a patch to show what it would look like?
webkit-dev mailing list
webkit-dev at lists.webkit.org
More information about the webkit-dev