[Gc] Re: Problems with GC_size_map

Bruce Hoult bruce at hoult.org
Mon Feb 1 16:37:27 PST 2010

On Tue, Feb 2, 2010 at 12:51 PM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> In general I am worried that the garbage collector is performing rather bad
> for a simple problem in which one builds and quickly discarding bignums --
> pointerless memory, by the way --. Profiling shows that 80% of the time is
> spent in the mark phase. This behavior is only present in 32-bits platforms.
> For 64-bit linuxes and OS X, garbage collection times are reduced by a
> factor of 3-4 and everything works smoothly, as in the best Common Lisp
> implementations around. I am intuitively associating it to blacklisting and
> false roots, which is why I am looking for more precise methods for
> scanning, allocating memory, etc.

You are not allocating the bodies of the bignums using GC_malloc_atomic()?

More information about the Gc mailing list