libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] Updated fast trace patch with initial performance


From: Paul Pluzhnikov
Subject: Re: [Libunwind-devel] Updated fast trace patch with initial performance results
Date: Mon, 4 Apr 2011 21:26:41 -0700

On Mon, Apr 4, 2011 at 9:01 PM, Arun Sharma <address@hidden> wrote:

> Could you also add a test case to Ltest-nomalloc, so we catch any
> mallocs in the fast unwind path? Thanks.

That may not be easy: AFAICT glibc pthread_setspecific doesn't call
calloc all the time; only when there are more than
PTHREAD_KEY_2NDLEVEL_SIZE (== 32) keys, and even then only the first
time for a block of keys.

I'll try to make a test case anyway.

Thanks!
-- 
Paul Pluzhnikov



reply via email to

[Prev in Thread] Current Thread [Next in Thread]