[Mono-devel-list] Garbage Collection problem
Jörg Rosenkranz
joergr at voelcker.com
Thu Oct 2 12:02:49 EDT 2003
Hello,
> -----Original Message-----
> From: Miguel de Icaza [mailto:miguel at ximian.com]
> Sent: Thursday, October 02, 2003 5:34 PM
>
> Not really, because in the example you show, what happens is that
> Boehm's collector does unmap the pages.
>
> Your criteria applies if allocation is just a simple "last byte
> requested from the OS", but in fact the way Unix works, and
> the way the
> Boehm GC work, is that they can allocate individual pages in
> the address
> space. So when you have a hole in the memory like the first one you
> showed, it will release the memory.
>
> Now, it will only do it if the whole page is free, if the
> page contains
> data, it wont be able to do it, and since there is no compacting, it
> wont be able to move the data off.
>
So the behaviour we get is clearly a bug and not 'by design'. When the
majority of objects is collected there should be free pages to release.
Should I file a Bugzilla entry for this?
Jörg.
More information about the Mono-devel-list
mailing list