gobject: remove use of generic marshaller from GObject

Using the generic marshaller has drawbacks beyond performance. One such
drawback is that it breaks the stack unwinding from the Linux kernel due
to having unsufficient data to walk past ffi_call_unixt64. That means that
performance profiling by application developers looks grouped among
seemingly unrelated code paths.

Related to GNOME/Initiatives#10
This commit is contained in:
Christian Hergert 2019-06-17 16:03:26 -07:00
parent d7c1d477bc
commit 2a4b5caac2

View File

@ -529,7 +529,7 @@ g_object_do_class_init (GObjectClass *class)
G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE | G_SIGNAL_DETAILED | G_SIGNAL_NO_HOOKS | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GObjectClass, notify),
NULL, NULL,
g_cclosure_marshal_VOID__PARAM,
NULL,
G_TYPE_NONE,
1, G_TYPE_PARAM);