• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: jemalloc to replace default allocator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jemalloc to replace default allocator


  • Subject: Re: jemalloc to replace default allocator
  • From: Alastair Houghton <email@hidden>
  • Date: Fri, 7 May 2010 22:19:56 +0100

On 7 May 2010, at 21:30, Jens Alfke wrote:

> Neither of these goes as far as overriding malloc itself. Instead they define their own allocator functions and then use those instead of calling malloc directly.

My impression is that the OP was actually talking about constructing a new default malloc() zone but using jemalloc's routines rather than the historic OS X implementation, which is what's making matters difficult.

As I hinted, if it were *my* application, I'd be looking at why it's calling free() so much.  If that's happening, perhaps it's allocating and releasing too much and maybe caching and re-using objects might help (for instance).

Kind regards,

Alastair.

--
http://alastairs-place.net



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: jemalloc to replace default allocator
      • From: Jens Alfke <email@hidden>
References: 
 >jemalloc to replace default allocator (From: Joel Reymont <email@hidden>)
 >Re: jemalloc to replace default allocator (From: Alastair Houghton <email@hidden>)
 >Re: jemalloc to replace default allocator (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: jemalloc to replace default allocator
  • Next by Date: Re: jemalloc to replace default allocator
  • Previous by thread: Re: jemalloc to replace default allocator
  • Next by thread: Re: jemalloc to replace default allocator
  • Index(es):
    • Date
    • Thread