From mboxrd@z Thu Jan 1 00:00:00 1970 From: mdj@sourceware.cygnus.com To: guile-cvs@sourceware.cygnus.com Subject: guile/guile-core/libguile gc.c gc.h init.c pairs.h Date: Tue, 14 Mar 2000 23:30:00 -0000 Message-id: <20000315073053.5004.qmail@sourceware.cygnus.com> X-SW-Source: 2000-q1/msg00403.html List-Id: CVSROOT: /cvs/guile Module name: guile Changes by: mdj@sourceware.cygnus.com 00/03/14 23:30:53 Modified files: guile-core/libguile: gc.c gc.h init.c pairs.h Log message: * gc.c, gc.h, pairs.h, init.c: Implementation of a new way of allocating heap. The basic idea is to trigger GC every Nth allocated cell and grow heap when free list runs out. The scheme has been extended so that GC isn't triggered until all remaining cells are used. The implementation is also prepared for development in the direction of POSIX threads. * gc.c (SCM_EXPHEAP): In order to grow by a factor of 1.5, SCM_EXPHEAP should return half of the heap size.