1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2026-10-24 00:49:00 +03:00
Files
glib/gobject
Emmanuele Bassi ce9c75a083 Trim the allocation of GTypeInstances
The old GSlice API had an automated trim of its magazines if an
allocation happened after a certain amount of time—a configurable toggle
that defaulted to 15 seconds. Trimming in a slab allocator allows to
free up memory and compact the heap.

Trimming does not come for free, so ideally applications allocating a
lot of GTypeInstance objects should trim their memory when it's
convenient for them, rather than on a timer.

See: https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/218
2026-04-10 13:29:55 +01:00
..
2022-10-13 20:53:56 -04:00
2023-10-16 23:35:05 +01:00
2025-09-03 21:47:11 +02:00
2022-10-13 20:53:56 -04:00
2026-02-23 11:44:02 +00:00
2022-10-13 20:53:56 -04:00
2022-10-13 20:53:56 -04:00
2026-04-10 13:29:55 +01:00
2023-10-23 11:26:53 +01:00