build: Remove the --disable-mem-pools build option and the DISABLE_MEM_POOLS macro3aa23078ac28f36bf588aa04948bf62c44669d4752/head
commit3aa23078ac28f36bf588aa04948bf62c44669d47
authorChristoph Reiter <creiter@src.gnome.org>
Sat, 2 Jun 2018 07:26:57 +0000 (2 09:26 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Sat, 2 Jun 2018 07:45:55 +0000 (2 09:45 +0200)
treeb24abd51db6133bf5624140692fdf6c712258246
parent553df9dcaf92942f18e498273b9d345214e20622
build: Remove the --disable-mem-pools build option and the DISABLE_MEM_POOLS macro

It's mostly not used anymore and doesn't do what it says it does.

The docs state that it affects GList, GSList, GNode, GMemChunks, GSignal,
GType n_preallocs and GBSearchArray while:

* GList, GSList and GNode use GSlice and are not affected
* GMemChunks is gone
* GType npreallocs is ignored

It also states that it can be used to force the usage of g_malloc/g_free,
which is handled by G_SLICE=always-malloc now.

The only places where it's used is in signal handling through GBSearchArray
and in GValueArray (deprecated). Since it's unlikely that anyone wants to
reduce allocation sizes just for those cases remove the build option.
config.h.meson
config.h.win32.in
configure.ac
docs/macros.txt
docs/reference/glib/building.xml
glib/gbsearcharray.h
gobject/gtype.c
gobject/gvaluearray.c