AW: [Mono-devel-list] GC/Memory allocation performance

Paolo Molaro lupus at ximian.com
Mon Jun 2 07:22:13 EDT 2003


On 05/30/03 Marcus wrote:
> Doesn't Boehm's GC have a compacting mode? I know that SRC Modula-3 (and its 
> descendants) for over 10 years have used a Boehm GC that is generational, 
> incremental, and compacting.

The standard Boehm GC can do some form of incremental/generational
collectiong (but no compacting), but enabling it in mono always results
in a SEGV in libgc's code for me. It may still be a mono issue, I didn't
investigate it. That support also relies on trapping SIGSEGV that mono
uses too to handle null ref exceptions, so it may not be possible to
deal with it anyway.
Enabling it for the C microbenchmark makes the numbers worse, though,
from 0.95 to 1.2 for the statically compiled version.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list