Last call for 3.0.0
justin.lebar at gmail.com
Wed May 9 08:09:02 PDT 2012
> 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?
On Wed, May 9, 2012 at 7:53 AM, Mike Hommey <mh+jemalloc at glandium.org> wrote:
> On Wed, May 09, 2012 at 04:45:15PM +0200, Mike Hommey wrote:
>> On Wed, May 09, 2012 at 07:27:10AM -0700, Justin Lebar wrote:
>> > Oh.
>> > Did you port over a different version of chunk_alloc_mmap for Windows?
>> > I don't recall seeing that in a patch.
>> Yes, I did.
>> > See Mozilla's jemalloc; we have to use a different strategy on Windows
>> > because Windows requires a 1:1 mapping between VirtualAlloc and
>> > VirtualFree.
>> I noticed that. I'll add an assertion on VirtualFree failing to see if
>> it could be that.
> Actually, as I'm building jemalloc with --enable-debug, there's already
> such an assertion, and I don't hit it.
More information about the jemalloc-discuss