[Gc] Re: [PATCH] Allow registration of disappearing links on
ludo at gnu.org
Sun Feb 1 13:00:10 PST 2009
Hans Boehm <Hans.Boehm at hp.com> writes:
> Ivan is right. On some platforms it might work, but the collector
> does not assume that the heap is contiguous. In fact, it's conceivable
> that dynamic libraries will be mapped between heap sections. And the
> "plausible_heap_addr" bounds are intentionally generous, to include
> some potential future heap expansion. (This helps black-listing of
> blocks that appear to be referenced from static data and the like.)
> This might even be an issue under Linux with large heaps on 32-bit
> systems, since the collector does eventually use mmap, which may
> interleave the heap with at least dlopened dynamic library data. This
> may also interact with some of the address space randomization stuff.
Hmm, thanks for the advice!
More information about the Gc