[gs-cvs] gs/src
Ray Johnston
ray at casper.ghostscript.com
Tue Apr 16 14:41:30 PDT 2002
Update of /cvs/ghostscript/gs/src
In directory casper:/tmp/cvs-serv24578/src
Modified Files:
zvmem2.c
Log Message:
Fix: Bump the DEFAULT_VM_THRESHOLD value up to prevent excessive GC.
This is a tuned parameter that may need to be adjusted in the future
if -dNOGC runs significantly faster than the normal case. The previous
values were established a long time ago when memory was a more expensive
resource. Fixes SourceForge bug #421057.
Index: zvmem2.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/zvmem2.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- zvmem2.c 21 Feb 2002 22:24:54 -0000 1.5
+++ zvmem2.c 16 Apr 2002 21:41:28 -0000 1.6
@@ -25,8 +25,8 @@
#include "store.h"
/* Garbage collector control parameters. */
-#define DEFAULT_VM_THRESHOLD_SMALL 20000
-#define DEFAULT_VM_THRESHOLD_LARGE 250000
+#define DEFAULT_VM_THRESHOLD_SMALL 100000
+#define DEFAULT_VM_THRESHOLD_LARGE 1000000
#define MIN_VM_THRESHOLD 1
#define MAX_VM_THRESHOLD max_long
More information about the gs-cvs
mailing list