Remove code to run GC more frequently as process image size increased
authorAndy Wingo <wingo@pobox.com>
Sun, 2 Feb 2014 18:15:48 +0000 (19:15 +0100)
committerAndy Wingo <wingo@pobox.com>
Sun, 2 Feb 2014 18:15:48 +0000 (19:15 +0100)
commit0320b1fc3f22e4edda5f79e949e5fccda49b8680
treec4dde5031920cb00940e0ba5ccee9c8a2603887f
parentaef1fcf94e635c51bc1d0849ad1f60a1d1274276
Remove code to run GC more frequently as process image size increased

* libguile/gc.c: Remove code that would try to run GC more frequently as
  the process image size was increasing.  Before, it was often the case
  that the heap was the main component of image size, but with
  expandable stacks and statically allocated data that is no longer
  true.  Also, once scm_gc_register_allocation was incorporated, we
  don't need to be so conservative any more.  It seems this code was
  simply causing too many gc's to run.  Removing it improves some
  micro-benchmarks; time will tell.
libguile/gc.c