memcpy warnings on 3.5.0

Jason Evans jasone at
Tue Jan 28 23:07:22 PST 2014

On Jan 28, 2014, at 11:00 PM, Jason Evans <jasone at> wrote:
> On Jan 28, 2014, at 7:49 PM, Eduardo Silva <edsiper at> wrote:
>> are these warnings relevants ?
> My guess is that you don’t have heap profiling enabled (—enable-prof), and that the compiler is complaining about what is effectively dead code.  An easy solution is to protect the memcpy() with a conditional:
> 	if (config_prof)
> I’ll make a note to do something like this in order to silence the warnings.

I took a slightly different approach:


More information about the jemalloc-discuss mailing list