[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] mallocs

From: Benjamin Wolsey
Subject: [Gnash-dev] mallocs
Date: Tue, 15 Jul 2008 17:26:23 +0200

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

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

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.


Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]