Comment 170 for bug 1160569

Revision history for this message
In , Karlt (karlt) wrote :

Comment on attachment 8631479
Replace g_slice_set_config() with G_SLICE environment variable

>+ // glib version < 2.32 doesn't initialize g_thread in a static
>+ // initializer. Ensure this happens before we unset G_SLICE.
>+ XRE_GlibInit();

Can you note the need/reason for g_type_init somewhere please?

Perhaps "GLib version < 2.36 doesn't initialize g_slice in a static
initializer. Ensure this happens through g_thread_init (GLib version < 2.32)
or g_type_init (2.32 <= GLib version < 2.36)."