[7ca0fdf] Disable munmap() if it causes VM map holes

Mike Hommey mh+jemalloc at glandium.org
Mon Apr 16 23:03:09 PDT 2012

On Mon, Apr 16, 2012 at 02:40:52PM -0700, Jason Evans wrote:
> On Apr 16, 2012, at 2:19 PM, Mike Hommey wrote:
> > Hoped for 0x7f82e5237000, got 0x7f82e5237000
> > 0x7f82e5637000..0x7f82e5237000..0x7f82e4e37000..0x7f82e4637000..0x7f82e5237000
> Huh.  The only explanation I can think of is that the dynamic loader
> is calling mmap in the midst of the mmap/munmap calls, thus resetting
> the "start from" address to use for address scanning.

It's not even that. The only mmaps happening are these ones. The dynamic
linker is done when main is entered.


More information about the jemalloc-discuss mailing list