CVSROOT: /cvs/gnome Module name: glib Changes by: timj 06/12/28 06:50:43
Modified files: . : ChangeLog glib : ghash.c glib.symbols gslice.c gslice.h tests : slice-test.c Log message: Thu Dec 28 12:50:31 2006 Tim Janik <[EMAIL PROTECTED]> * glib/gslice.h, glib/gslice.c: implemented static debugging hash-tree to validate slice adresses and sizes with G_SLICE=debug-blocks. use abort() to exit in mem_error() to allow catching of these in gdb. abort programs with a descriptive error message if g_thread_init() is called after GSlice was in use. previously this just silently corrupted the magazines. * glib/ghash.c (struct _GHashNode): reordered fields to keep 8-byte pointer alignment on 64bit systems and request smaller slice sizes on 32bit systems. * tests/slice-test.c: support '~' option flag to introduce slice allocation/release corruption with a significant probability. this allowes testing of G_SLICE=debug-blocks. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glib&who=timj&date=explicit&mindate=2006-12-28%2006:49&maxdate=2006-12-28%2006:51 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list