mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-15 20:18:05 +02:00
documented G_SLICE=always-malloc and G_DEBUG=gc-friendly. added anchors
Wed Jan 25 17:12:47 2006 Tim Janik <timj@gtk.org> * glib/running.sgml: documented G_SLICE=always-malloc and G_DEBUG=gc-friendly. added anchors for each env var.
This commit is contained in:
parent
eda944bca5
commit
04f12a2641
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 25 17:12:47 2006 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/running.sgml: documented G_SLICE=always-malloc and
|
||||||
|
G_DEBUG=gc-friendly. added anchors for each env var.
|
||||||
|
|
||||||
2006-01-18 Matthias Clasen <mclasen@redhat.com>
|
2006-01-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* === Released 2.9.4 ===
|
* === Released 2.9.4 ===
|
||||||
|
@ -44,7 +44,7 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
|
|||||||
</para>
|
</para>
|
||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
<formalpara>
|
<formalpara id="G_MESSAGES_PREFIXED">
|
||||||
<title><envar>G_MESSAGES_PREFIXED</envar></title>
|
<title><envar>G_MESSAGES_PREFIXED</envar></title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -54,9 +54,8 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
|
|||||||
</para>
|
</para>
|
||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
<formalpara>
|
<formalpara id="G_DEBUG">
|
||||||
<title><envar>G_DEBUG</envar></title>
|
<title><envar>G_DEBUG</envar></title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
If GLib has been configured with <option>--enable-debug=yes</option>,
|
If GLib has been configured with <option>--enable-debug=yes</option>,
|
||||||
this variable can be set to a list of debug options, which cause GLib
|
this variable can be set to a list of debug options, which cause GLib
|
||||||
@ -79,11 +78,49 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
|
|||||||
debugging support.</para>
|
debugging support.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>gc-friendly</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Newly allocated memory that isn't directly initialized, as well
|
||||||
|
as memory being freed will be reset to 0. The point here is to
|
||||||
|
allow memory checkers and similar programs that use bohem GC alike
|
||||||
|
algorithms to produce more accurate results.
|
||||||
|
This option is special in that it doesn't require GLib to be
|
||||||
|
configured with debugging support.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</para>
|
</para>
|
||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
<formalpara>
|
<formalpara id="G_SLICE">
|
||||||
|
<title><envar>G_SLICE</envar></title>
|
||||||
|
<para>
|
||||||
|
This environment variable allows reconfiguration of the #GSlice
|
||||||
|
memory allocator.
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
<term>always-malloc</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
This will cause all slices allocated through g_slice_alloc() and
|
||||||
|
released by g_slice_free1() to be actually allocated via direct
|
||||||
|
calls to g_malloc() and g_free().
|
||||||
|
This is most useful for memory checkers and similar programs that
|
||||||
|
use bohem GC alike algorithms to produce more accurate results.
|
||||||
|
It can also be in conjunction with debugging features of the system's
|
||||||
|
malloc implementation such as glibc's MALLOC_CHECK_=2 to debug
|
||||||
|
erroneous slice allocation code.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
|
||||||
|
<formalpara id="G_RANDOM_VERSION">
|
||||||
<title><envar>G_RANDOM_VERSION</envar></title>
|
<title><envar>G_RANDOM_VERSION</envar></title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -95,7 +132,7 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
|
|||||||
</para>
|
</para>
|
||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
<formalpara>
|
<formalpara id="LIBCHARSET_ALIAS_DIR">
|
||||||
<title><envar>LIBCHARSET_ALIAS_DIR</envar></title>
|
<title><envar>LIBCHARSET_ALIAS_DIR</envar></title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -106,7 +143,7 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
|
|||||||
</para>
|
</para>
|
||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
<formalpara>
|
<formalpara id="G_WIN32_PRETEND_WIN9X">
|
||||||
<title><envar>G_WIN32_PRETEND_WIN9X</envar></title>
|
<title><envar>G_WIN32_PRETEND_WIN9X</envar></title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -115,9 +115,12 @@ A convenience function/macro to log a normal message.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@...: format string, followed by parameters to insert into the format string (as with printf())
|
@...: format string, followed by parameters to insert into the format string (as with printf())
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@...:
|
@...:
|
||||||
@...:
|
@...:
|
||||||
|
@...:
|
||||||
|
|
||||||
|
@...:
|
||||||
|
|
||||||
@...:
|
@...:
|
||||||
|
|
||||||
|
|
||||||
@ -127,9 +130,12 @@ A convenience function/macro to log a warning message.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@...: format string, followed by parameters to insert into the format string (as with printf())
|
@...: format string, followed by parameters to insert into the format string (as with printf())
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@...:
|
@...:
|
||||||
@...:
|
@...:
|
||||||
|
@...:
|
||||||
|
|
||||||
|
@...:
|
||||||
|
|
||||||
@...:
|
@...:
|
||||||
|
|
||||||
|
|
||||||
@ -143,9 +149,12 @@ example.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@...: format string, followed by parameters to insert into the format string (as with printf())
|
@...: format string, followed by parameters to insert into the format string (as with printf())
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@...:
|
@...:
|
||||||
@...:
|
@...:
|
||||||
|
@...:
|
||||||
|
|
||||||
|
@...:
|
||||||
|
|
||||||
@...:
|
@...:
|
||||||
|
|
||||||
|
|
||||||
@ -160,9 +169,12 @@ assertion failure.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@...: the parameters to insert into the format string.
|
@...: the parameters to insert into the format string.
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@...:
|
@...:
|
||||||
@...:
|
@...:
|
||||||
|
@...:
|
||||||
|
|
||||||
|
@...:
|
||||||
|
|
||||||
@...:
|
@...:
|
||||||
|
|
||||||
|
|
||||||
@ -172,11 +184,14 @@ A convenience function/macro to log a debug message.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@...: format string, followed by parameters to insert into the format string (as with printf())
|
@...: format string, followed by parameters to insert into the format string (as with printf())
|
||||||
|
|
||||||
|
@...:
|
||||||
|
|
||||||
|
@...:
|
||||||
@Since: 2.6
|
@Since: 2.6
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@...:
|
|
||||||
@...:
|
@...:
|
||||||
@...:
|
@...:
|
||||||
|
@...:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_log_set_handler ##### -->
|
<!-- ##### FUNCTION g_log_set_handler ##### -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user