Last call for 3.0.0

Mike Hommey mh+jemalloc at glandium.org
Wed May 9 08:22:29 PDT 2012


On Wed, May 09, 2012 at 08:09:02AM -0700, Justin Lebar wrote:
> > The linux
> > one is apparently due to --disable-munmap not doing quite a good job,
> 
> With --disable-munmap, chunk_dealloc_mmap does nothing.  Which means
> chunk_dealloc does nothing...
> 
> How is this supposed to work?

It's supposed to keep a list of the free chunks and reuse them when
allocating a new one. cf. chunk_recycle and chunk_record. (Haven't
looked at the code in detail, but that's likely to be what fails to do
its job)

Mike



More information about the jemalloc-discuss mailing list