[Mono-dev] Compacting GC
Miguel de Icaza
miguel at novell.com
Sat Sep 12 12:58:40 EDT 2009
>> MCS [net_1_1] System.dll
>> **
>> ERROR:sgen-gc.c:3491:mono_gc_alloc_obj: assertion failed: (*p ==
>> NULL)
>
> Remember when we said that sgen wasn't quite ready? Here's the proof
> --sgen is asserting while trying to build Mono.Posix.dll. You've
> built a mono with the sgen GC, it's just not very useful.
The good news for anyone that wanted to hack on SGen is that this is a
good place to start.
So Mono runtime with SGen does build, now you have to find every
instance where there is a failure.
Remember that this is not our regular conservative GC, this is a
moving collector, so data in memory will be moved. The challenge is
to find the source of this crash: what caused it? Memory that was
moved? Information that was not pinned and was moved behind the
unmanaged code knowing?
Miguel.
More information about the Mono-devel-list
mailing list