help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] [PATCH] Reenable generational GC :-(


From: Paolo Bonzini
Subject: [Help-smalltalk] [PATCH] Reenable generational GC :-(
Date: Mon, 11 Feb 2008 12:06:00 +0100
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)

I found out that I disabled generational GC by mistake while preparing 3.0 (and debugging a failure on ia64). Here is a patch that reenables it. Thomas, could you please test it on ia64?

On some testcases, it speeds up by a factor of 3-4. In fact, the bad performance on the shootout and on some stuff I have at work, was what made me curious.

Thanks!

Paolo

diff --git a/libgst/gstpriv.h b/libgst/gstpriv.h
index 75120d2..9133277 100644
--- a/libgst/gstpriv.h
+++ b/libgst/gstpriv.h
@@ -106,6 +106,10 @@
 #include <inttypes.h>
 #endif

+#ifdef HAVE_SIGSEGV_H
+#include "sigsegv.h"
+#endif
+
 #include "gst.h"

 /* Convenience macros to test the versions of GCC.  Note - they won't
diff --git a/libgst/oop.c b/libgst/oop.c
index fedf427..3eb1fb7 100644
--- a/libgst/oop.c
+++ b/libgst/oop.c
@@ -54,10 +54,6 @@

 #include "gstpriv.h"

-#ifdef HAVE_SIGSEGV_H
-#include "sigsegv.h"
-#endif
-
 #define        K               1024
 #define INIT_NUM_INCUBATOR_OOPS   50
 #define INCUBATOR_CHUNK_SIZE     20




reply via email to

[Prev in Thread] Current Thread [Next in Thread]