From: Bart Van Assche Date: Thu, 10 Jul 2008 06:27:52 +0000 (+0000) Subject: Added note about the g_slice facility in GLib. X-Git-Tag: svn/VALGRIND_3_4_0~336 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=848579327c534f7bcbef1c6255cfdfbb44636e68;p=thirdparty%2Fvalgrind.git Added note about the g_slice facility in GLib. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8411 --- diff --git a/drd/docs/drd-manual.xml b/drd/docs/drd-manual.xml index f6ac6ddf3e..b24a0168b7 100644 --- a/drd/docs/drd-manual.xml +++ b/drd/docs/drd-manual.xml @@ -998,6 +998,16 @@ GNOME applications use the threading primitives provided by the on top of POSIX threads, and is hence directly supported by DRD. + +One of the many facilities provided by the glib +library is a block allocator, called g_slice. You +have to disable this block allocator when using DRD by adding the +following to the shell environment variables: +G_SLICE=always-malloc. See also the GLib +Reference Manual for more information. + +