Re[2]: [Gc] GC_remap fails with ENOMEM on Linux with large (64K) pages.

Ivan Maidanski ivmai at
Wed May 27 22:59:30 PDT 2009


"Boehm, Hans" <hans.boehm at> wrote:
> I don't see a lot of changes directly associated with this code.  GC_remap still uses mprotect instead of mmap to avoid an accidental intervening mapping, at least in the CVS version. ...

Yes, I'm sorry, I've just looked in the wrong place (that was GC_unmap()).

I have another question around the problem: is the following assertion correct in GC_merge_unmapped() (I sometimes get violation here if compiled with assertions)?

            if (IS_MAPPED(hhdr)) {

> ...


More information about the Gc mailing list