]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added note about the g_slice facility in GLib.
authorBart Van Assche <bvanassche@acm.org>
Thu, 10 Jul 2008 06:27:52 +0000 (06:27 +0000)
committerBart Van Assche <bvanassche@acm.org>
Thu, 10 Jul 2008 06:27:52 +0000 (06:27 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8411

drd/docs/drd-manual.xml

index f6ac6ddf3eed961e3608f089aeaa0b844b897795..b24a0168b7196e238c17ff4aacbde078d1673301 100644 (file)
@@ -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.
 </para>
 
+<para>
+One of the many facilities provided by the <literal>glib</literal>
+library is a block allocator, called <literal>g_slice</literal>. You
+have to disable this block allocator when using DRD by adding the
+following to the shell environment variables:
+<literal>G_SLICE=always-malloc</literal>. See also the <ulink
+url="http://library.gnome.org/devel/glib/stable/glib-Memory-Slices.html">GLib
+Reference Manual</ulink> for more information.
+</para>
+
 </sect2>