[glib/wip/chergert/marshall-matters: 82/84] gobject: remove use of generic marshaller from GObject



commit 2a4b5caac2a909425a5e806c09097c67128320e9
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 17 16:03:26 2019 -0700

    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

 gobject/gobject.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gobject/gobject.c b/gobject/gobject.c
index 39cfe6718..3a1fbdd87 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]