However, I am not aware of any platforms where an overridden operator new would have effect across a DLL boundary ... A DLL on Windows is treated rather like an EXE for the purposes of linkage. However, DLLs are a Windows-specific feature which don't exist on other platforms, though some desktop platforms have similar 'shared library' concepts. Some gaming and embedded platforms have the concept of shared libraries, though they often don't treat them as independently linkable units like Windows DLLs but instead think of them more like a code overlay within the current process and thus share symbols. As I understand the LGPL (an abbreviated description: http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License), statically linking is fine. What matters is that derivative software be available in linkable library form, and that explicitly includes statically linked software. This makes sense because many platforms other than Unix and Windows platforms don't have the concept of dynamic linking, and it wouldn't make sense for LGPL to apply to some platforms and not others. The key point of LGPL relative to GPL is to recognize the concept of libraries as opposed to applications. So far, we've been quite happy using platform tools for memory debugging. Personally, I do not think that explicitly tagging memory in this way would be cost-effective, although this is certainly not out of the question.I understand. It's just one approach, and a good set of stack/module trawling tools can help achieve much the same thing. My main point is of course to be able to control where memory comes from, and this merely provides an easy means of achieving some explicit metrics functionality. It's been useful in the gaming industry as a complement to the other usual tools. Thanks. Paul On Jun 4, 2008, at 9:58 AM, Paul Pedriana wrote: |
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev