1 new commit in XEmacs:
https://bitbucket.org/xemacs/xemacs/commits/74b4d4c11264/
Changeset: 74b4d4c11264
User: kehoea
Date: 2017-03-19 23:27:07+00:00
Summary: Increase GC_CONS_THRESHOLD to better reflect current RAM sizes.
src/ChangeLog addition:
2017-03-19 Aidan Kehoe <kehoea(a)parhasard.net>
* gc.c (GC_CONS_THRESHOLD):
Increase this (from about 2 megabytes to about 32) and the related
incremental-GC defaults, giving better performance with modern RAM
sizes.
Affected #: 2 files
diff -r 0ae4d70fef9389d2d99dc048cc86bb5745854680 -r
74b4d4c11264e149d03d748b9c34f253a69801bf src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
+2017-03-19 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * gc.c (GC_CONS_THRESHOLD):
+ Increase this (from about 2 megabytes to about 32) and the related
+ incremental-GC defaults, giving better performance with modern RAM
+ sizes.
+
2017-03-15 Aidan Kehoe <kehoea(a)parhasard.net>
* lread.c (read1):
diff -r 0ae4d70fef9389d2d99dc048cc86bb5745854680 -r
74b4d4c11264e149d03d748b9c34f253a69801bf src/gc.c
--- a/src/gc.c
+++ b/src/gc.c
@@ -361,14 +361,14 @@
/* Number of bytes of consing since gc before a full gc should happen. */
-#define GC_CONS_THRESHOLD 2000000
-
+#define GC_CONS_THRESHOLD 32000000
+
/* Number of bytes of consing since gc before another cycle of the gc
should happen in incremental mode. */
-#define GC_CONS_INCREMENTAL_THRESHOLD 200000
+#define GC_CONS_INCREMENTAL_THRESHOLD 800000
/* Number of elements marked in one cycle of incremental GC. */
-#define GC_INCREMENTAL_TRAVERSAL_THRESHOLD 100000
+#define GC_INCREMENTAL_TRAVERSAL_THRESHOLD 400000
/* Number of bytes of consing done since the last GC. */
EMACS_INT consing_since_gc;
Repository URL:
https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from
bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.