There is code to support several mallocs in libbase. Old code for using
dlmalloc is in libbase/dlmalloc.{cpp,h} and utility.h. There also used
to be special support for dmalloc (detection in configure.ac and some
ifdefs in utility.cpp).Because this code seems obsolete now we have jemalloc, which should work well cross-platform (besides any standard allocator), I propose to drop it. As a side effect, dump_memory_stats() in utility.cpp would go. A comment suggests this never worked for dmalloc, but the code cleverly disables it unless dmalloc is being used. Rob has already added newer code in libbase for checking memory usage, so dump_memory_stats may also be obsolete. If anyone is using any of this code or knows a reason why it should be kept in Gnash, please let me know fairly soon. bwy
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

