Re: GLib RFC: Improve checking provided with --enable-mem-check



On Wed, 6 Jun 2001, Ben Stanley wrote:
> Comments are solicited, bearing in mind that this is a debugging memory
> manager proposal, not the normal one, and that I am aiming for
> robustness in the face of programmer error over efficiency, That being
> said, if you know of ways to achieve the same goal using fewer bytes and
> achieving higher performance, please describe them.
>
> I am volunteering to implement this proposal.
>
> I have currently only looked at gmem.c in glib-1.2.9. Is there any more
> recent version that I should know about?

Glib 1.3.x has a "pluggable" g_malloc implementation. You should be able
to write a memory checker outside of glib and have all of glib/gtk+ use
it.

/ Alex






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