diff options
author | Andy Wingo <wingo@pobox.com> | 2011-11-29 00:48:56 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-11-29 10:12:22 +0100 |
commit | 6360beb28a918448ed42b0ddb905b2d9d513d8b9 (patch) | |
tree | 1128509ab28c453f5ade2bd6869d34e20fe379d0 /libguile/procprop.c | |
parent | 14294ce0dfa315193a455a16dd5ab631bf037b78 (diff) | |
download | guile-6360beb28a918448ed42b0ddb905b2d9d513d8b9.tar.gz |
increase garbage collection rate if the process is growing
* configure.ac: Check for GC_get_free_space_divisor.
* libguile/gc.c (GC_get_free_space_divisor): Define an implementation,
if needed.
(accumulate_gc_timer): Fix indentation.
(get_image_size): New terrible hack. Needs implementations on other
platforms.
(adjust_gc_frequency): Attempt to adjust the GC frequency based on
process image growth. Needs more comments.
(scm_init_gc): Add the adjust_gc_frequency to the after_gc_c_hook.
Diffstat (limited to 'libguile/procprop.c')
0 files changed, 0 insertions, 0 deletions