[Mono-dev] [PATCH] Cause libgc to return some unused memory to the system
vargaz at gmail.com
Thu Aug 20 08:38:57 EDT 2009
It might be a good idea to ask the libgc mailing list as to why this isn't
done in the first place.
On Thu, Aug 13, 2009 at 8:16 PM, Dick Porter <dick at acm.org> wrote:
> Hi all
> Attached is a patch to libgc that will allow it to actually unmap memory
> when USE_MUNMAP is defined. Currently, the unmap code just sets the
> mmap flags on a region to 'no access'. The patch unlinks blocks from
> the gc free list larger than a defined min size (currently 4k bytes),
> that haven't been used for several collections, and unmaps the memory.
> It may or may not fix https://bugzilla.novell.com/show_bug.cgi?id=495486
> - the reporter forgot to attach his test case.
> - Dick
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list