[Python-checkins] CVS: python/dist/src/Modules gcmodule.c,2.9,2.10

Jeremy Hylton python-dev@python.org
Thu, 31 Aug 2000 21:01:59 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv20751/Modules

Modified Files:
	gcmodule.c 
Log Message:
set the default threshold much higher
we don't need to run gc frequently


Index: gcmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/gcmodule.c,v
retrieving revision 2.9
retrieving revision 2.10
diff -C2 -r2.9 -r2.10
*** gcmodule.c	2000/09/01 02:47:24	2.9
--- gcmodule.c	2000/09/01 04:01:55	2.10
***************
*** 41,45 ****
  /* collection frequencies, XXX tune these */
  static int enabled = 1; /* automatic collection enabled? */
! static int threshold0 = 100; /* net new containers before collection */
  static int threshold1 = 10;  /* generation0 collections before collecting 1 */
  static int threshold2 = 10;  /* generation1 collections before collecting 2 */
--- 41,45 ----
  /* collection frequencies, XXX tune these */
  static int enabled = 1; /* automatic collection enabled? */
! static int threshold0 = 5000; /* net new containers before collection */
  static int threshold1 = 10;  /* generation0 collections before collecting 1 */
  static int threshold2 = 10;  /* generation1 collections before collecting 2 */